method: 1.put the code between <body> and </body> 2.change these to yours var x = 5 //horizontal distance var y = 5 //vertical distance var change = 10 //time to change,more big more slower
3.use these codes to refers to your javescript between <body> and </body> <DIV id="image" style="position: absolute;"> <img src="move.gif" alt="moving gif"> </DIV>
4.rewrite your <body> like this: <BODY onload="setTimeout('move()', 10)">
Image Scroller?
in Programming
Posted · Report reply
method:
1.put the code between <body> and </body>
2.change these to yours
var x = 5 //horizontal distance
var y = 5 //vertical distance
var change = 10 //time to change,more big more slower
3.use these codes to refers to your javescript between <body> and </body>
<DIV id="image" style="position: absolute;">
<img src="move.gif" alt="moving gif">
</DIV>
4.rewrite your <body> like this:
<BODY onload="setTimeout('move()', 10)">
then,enjoy!