Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

A Cool Trick I Learnt.


  • This topic is locked This topic is locked
1 reply to this topic

#1 samuel3

samuel3

  • Members
  • 2,302 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:11:50 PM

Posted 11 July 2008 - 04:27 PM

java script: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()',5); void(0);


Copy and paste this code in your navigation bar.

It will make your icons fly around, to get rid of it you just have to close the page you are on or navigate away from it then everything will be back to normal.

Edited by samuel3, 12 July 2008 - 04:33 AM.


BC AdBot (Login to Remove)

 


#2 nigglesnush85

nigglesnush85

  • Members
  • 4,371 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:UK
  • Local time:11:50 PM

Posted 11 July 2008 - 06:18 PM

http://www.bleepingcomputer.com/forums/ind...5&hl=google
Regards,

Alan.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users