Run and stop code OnClick

  • Thread starter Thread starter Wayne-I-M
  • Start date Start date
W

Wayne-I-M

Just as a bit of fun I want to run the snow code
http://www.dynamicdrive.com/dynamicindex3/snow.htm

But I think this would be "a little" irritating (to say the least) if runs
all the time - so I wondered if it is possible to run some code OnClick of a
button and stop it again On Click of another button

I have tried to get this working but no luck at the moment

Any ideas or web sites that I could look at would be really helpful
 
It's OK - I got it

<input type="button" value="Stop Snow" name="B2"
onclick="FP_callJS('hidesnow()')">
 
Back
Top