PDA

View Full Version : Countdown Clock?


MorrisMcD
07-24-2004, 11:33 AM
Hey guys... First of all, I am fairly new to the VB community.. Had my board since November last year. I just started using CMPS and I must say it is a wonderful tool. And very powerful.

Once I discovered how to do the modules, my mind ran off with endless possibilities. One of those ideas is creating a countdown clock. I currently created a custom module with only HTML in it, but I am not a web designer by any means, so I merely used Front Page to create something, and then copy that code into the template. I have had issues with spacing underneith and it never has the border like all other templates, etc. In any case.. I will get to my point.

I run an NFL fan site and I created a countdown clock that looks pretty pathetic actually and I was wondering if this module has ever been an idea or if someone has created it, could I get the code so my doesnt look so aweful.

Here is my site, http://www.cincybengals.com and you will see what I mean. I would like a pretty cool countdown clock with maybe a digital or analog actual 'clock looking clock'. If that makes sense.

Anyway, I figured a lot of people might like something like this, so any of you scripting gurus out there, please consider the idea if you get bored... :) :hint hint:

Again, great product and I will def be learning something new here, and have been enjoying it.

slyntz
07-26-2004, 08:53 AM
This would be great!

Our Sponsors
 

GIO
11-02-2004, 07:40 AM
HAs anyone done this yet?

stitch
11-02-2004, 05:44 PM
Something like this?

If it is, here are the components - A little bit tricky.

I test this one PWS with NT4 Station.

Upload the contents in zip file to your web root (Not forum root) or your portal directory.

Open countdown.ini and enter the desired countdown criteria

icountdown=yes&ityear=2010&itmonth=10&itday=7&ithours=15&itminutes=15&itseconds=0

Ignore this

&aevent=College Football&whovswho=Sanfran vs Luxumburg

Create a template called adv_portal_countdown

Paste this in



<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('countdown')">

<img id="collapseimg_countdown" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_countdown.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>
<center><i><font color="#FFFF00">Time To Event</font>
</i>
</center>
</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_countdown" style="$collapseobj_countdown">


<tr>
<td class="alt2" align="center" width="100%">
<object width="258" height="75">
<param name="movie" value="simplecountdown.swf">
<embed src="simplecountdown.swf" width="258" height="75">
</embed>
</object>
</td>
</tr>
</tbody>
</table>
<br />



Create your module in vba cmps

Our Sponsors
 

unkemone
08-15-2005, 08:35 PM
Works great THANKS !

MorrisMcD
08-18-2005, 05:48 PM
wow.. I never saw the reply.. Thanks... :doh: I like this better than the one I am using..

trana
09-14-2005, 07:07 PM
Would it be possible to post an editable version of the Flash file?

I need to edit it to match my vbb style.