Forums | Hello Guest, Login or Register | > > L4Y Files: No longer here! < <
  Levels-4-You : Lounge : Javascript trick [Forum Rules]  


Back to Forum Thread List

Mostertman    Posted 23rd Oct 2006 11:38am
Post 1493 / 2820
Cool trick with javascript. Paste the following into your address bar while looking at a page with a lot of pictures. (Levels4you mainpage works good with this one: Levels4you.com)

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()',20); void(0);
   
The_Doc   Posted 23rd Oct 2006 12:19pm
Stargate Worlds
L4Y Member
Post 824 / 962

Ooooh, cool!
STARGATE WORLDS: EXPLORE AN ENTIRE NEW GALAXY    
Molodiets   Posted 23rd Oct 2006 6:17pm
L4Y Member
Post 1187 / 2687

ha ha
funny.
spoilsport    
sobe    Posted 23rd Oct 2006 7:19pm
Post 2056 / 3194
Yea, old news But still funny to mess with.
"Apparently, Plaintiff believes that he could sue an egg company for fraud for labeling a carton of 12 eggs a dozen, because some bakers would view a dozen as including 13 items." - Western Digital 2006    
LordSeafood   Posted 24th Oct 2006 12:24pm
L4Y Member
Post 1245 / 1792

HAHA, that is a cool trick.
P.S. Still Alive.    



Copyright © 2000-2025 Levels-4-You
Your request was handled in 0.05 seconds.