Magic of javascript!!!
Posted: Wed Jun 13, 2007 3:12 am
hi,all
i'll give you all one tip how to make all images in a website fly or animated
1. firstly, go to a website such as http://www.yahoo.com
2. after go to the website, delete the url http://www.yahoo.com in address bar
3. Then put this script into the address bar:
4. Press Enter.
Look at it , all images will be animated.
if you try in firefox that is not working, please try it in IE
Enjoy!!
i'll give you all one tip how to make all images in a website fly or animated
1. firstly, go to a website such as http://www.yahoo.com
2. after go to the website, delete the url http://www.yahoo.com in address bar
3. Then put this script into the address bar:
Code: Select all
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=****.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5+'px'; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5+'px'}R++}setInterval('A ()',5); void(0)
Look at it , all images will be animated.
if you try in firefox that is not working, please try it in IE
Enjoy!!