Welcome
Welcome to <strong>.::GIGZA CLUB::.</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Magic With Javascript

<a href="http://gigza.freeforums.org"><img src="http://img72.imageshack.us/img72/593/indicatorremembermilkorao3.gif" border="0" alt="Image Hosted by gigza" /></a>
<a href="http://gigza.freeforums.org"><img src="http://img505.imageshack.us/img505/6397/showfg4.png" border="0" alt="Image Hosted by gigza" /></a>
<b>แหล่งรวมข้อมูลเกี่ยวกับ Web Templates, Scripts & E-Book</b>

Magic With Javascript

Postby webmaster on Wed Feb 07, 2007 8:52 pm

Goto any website with pictures showing, even this page will do. It works for Opera aswell. Just copy and paste the following 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=document.getElementsByTagName("img"); 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()',50); void(0);


See the magic :))

Values can also be changed:
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=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*1+i*x2+x3)*x1+x2)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',50); void(0);


:)
Image

Image
User avatar
webmaster
เจ้าพ่อมาเฟีย
 
Posts: 361
Joined: Mon Feb 05, 2007 4:57 am

Return to ..:: Web Templates, Scripts & E-Book ::..

Who is online

Users browsing this forum: No registered users and 0 guests

cron