I'm a student and have a JScript exercise due really soon.
I need a script that randomly (math.random)moves an image around the screen with the ability to stop it with a onMouseover or OnClick event. I can find lots of random images, but am stuck on how to create a pause. I know I need to reset the interval to 0 when onMouseover is true, but can't find a script to deconstruct for this assignment.
Anybody got or know of one??
Thanks
I need a script that randomly (math.random)moves an image around the screen with the ability to stop it with a onMouseover or OnClick event. I can find lots of random images, but am stuck on how to create a pause. I know I need to reset the interval to 0 when onMouseover is true, but can't find a script to deconstruct for this assignment.
Anybody got or know of one??
Thanks