Preserved Topic: I need a pause between one of my roll-overs: (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: The Moldy, Rainy State |
posted 08-14-2000 03:39
I have a multi-picture roll-over, and I need some kind of time spacer between the roll-over frames so it actually looks like an aperture closing/opening. Does anyone have a JavaScript line code I can use to do this? Thanks! |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-14-2000 05:11
yeah what you need is a setTimeout statement. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-14-2000 18:35
You don't need quotes around the number (it will still work anyway though). |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-14-2000 19:53
No you do not need them but most people who do this professionally use the convention of wrapping anything that is not a variable in quotes. It's a good practice. |
Bipolar (III) Inmate From: The Moldy, Rainy State |
posted 08-14-2000 21:42
Thanks guys! I'll give it a try and see if it works. I'm a little confused as to where I should put it, (as in before the picture load in the script, or whatever), but if I'm still having problems I'll check back - Thanks again! <img border=0 align=absmiddle src="http://www.ozones.com/forum/wink.gif"> |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 08-15-2000 09:11
Hiya Child! Check out this simple example page at http://www.ozones.com/flourish.html - it's a 5 frame animation done using javascript. |