@GollumNov 10.2003 — #Animated background effects like the one you mention are often done using scheduled timer events. The 'Effect' code itterates by moving a number of small images over the screen and then scheduling another event in a small period of time (say 50ms or so) to run the next itteration.
I'm guessing you already have a script that does the snow effect. To make it switchable, all you need to do is find the piece of code that schedules the next itteration and put your own switch just before the call to setTimeout("someFunc();",some ms);
You may also want to loop through all the images and make them invisible too.
@j_sanauthorNov 10.2003 — #Yeh thanx guys this is the code for the snow but i dnt have a clue where to put it or how to make as im not familiar with javascript but i do know where to put it in the html document...
//Configure below to change URL path to the snow image
var snowsrc="snow.gif"
// Configure below to change number of snow to render
There is one part I haven't finished in that script, and that is the "stopsnow" function, so clicking on the stop button will bring up an error.
If somebody else could help out here, I can't remember how to do the "cleartimeout" thing properly, so if anyone else knows how to do it, please post it here ?