News:

Picture posting is enabled for all :)

Main Menu

Looking for HTML

Started by kenkew, February 08, 2007, 15:15:25

Previous topic - Next topic

kenkew

I'd like to put a timer on my puzzle page. I can find script for count up/down clocks but not one for a count up one which starts at zero.
Anyone know where to pick one up?
I might have a go at altering a script to suit if I can't one.

kenkew


cambourne7


glow777

kk
If its a javascript and you have a countdown which you like it'll be pretty easy to change.
If you struggle pm it to me and i'll have a look but basically it'll be based round a for loop

------------------------------------------
eg
for (var x = 1; x <= 10; x++)
   {
do something here eg write an out of time message
   }
-------------------------------------------
where
var x = 1 represents the starting point
x <= 10 is the do while value of x ( = to or less than 10)
x++ means add 1 to x every time

therefore to count down start at a big value for x, do until x =0 and after every iteration take one of x  use     x-- instead of x++

hope this makes sense

Glow


kenkew

Thanks both;
I have a script but I use BluVoda as a web ceater and adding raw HTML seems to make it hic-cup....it seems it needs a 'bin' file too....working on it.

Powered by EzPortal