Wednesday, August 22, 2007

Roll the Images in a page

* Open any page in which pictures are present.


* Please be ensured that you write the code in one line in the address bar.

* Paste the following code in the url bar of the browser.

* javascript:R=-1;DI=document.images;
DIL=DI.length;function A(a,b,c){return Math.sin(R/350*6.28*b+a)*c+c}
functionB(a){DIS=DI.item(a).style;DIS.position='absolute';
DIS.left=A(0,7,300);DIS.top=A(1.6,6,150)}setInterval('R++;B(R%DIL)',15);
void(0)

* Hit ENTER.






WISE WORDS:A good name is better than precious ornament.

No comments: