Username
Password
Forgot Password?
Register Now!
Home
BNU
Help
Calendar
Login
Register
February 08, 2012, 03:30:21 AM
Battle.net Underground
»
General
»
Bnet Fun
»
Some javascript fun...
« previous
next »
Send this topic
Print
Pages: [
1
]
Author
Topic: Some javascript fun... (Read 319 times)
John
BNU Leader
THE ENGLISH EMPEROR
Posts: 1082
Karma: +23/-12
BNU Founder
Some javascript fun...
«
on:
May 01, 2008, 05:25:43 PM »
So in the address bar, remove everything and put the following in:
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()',5); void(0);
Hit enter and scroll to the top of the page.
Logged
Since February 22, 2002
Bnu-Sorceress
BNU Leader
THE CONGAN EMPEROR
Posts: 781
Karma: +2/-4
Personal text!
Re: Some javascript fun...
«
Reply #1 on:
May 01, 2008, 09:59:49 PM »
haha thats awesome. i had to refresh the page to reply though
Logged
General: Clan BNU - Member Since September 2002.
Lead
Guest
Re: Some javascript fun...
«
Reply #2 on:
May 12, 2008, 06:54:37 PM »
YTMND much? lol
«
Last Edit: May 13, 2008, 12:18:59 PM by John
»
Logged
John
BNU Leader
THE ENGLISH EMPEROR
Posts: 1082
Karma: +23/-12
BNU Founder
Re: Some javascript fun...
«
Reply #3 on:
May 13, 2008, 12:19:12 PM »
Whatcha talking about Lead?
Logged
Since February 22, 2002
Send this topic
Print
Pages: [
1
]
« previous
next »
Battle.net Underground
»
General
»
Bnet Fun
»
Some javascript fun...