ANNOUNCEMENT: This forum has been archived and its community moved to the Star Wars Gamer forum.
lfnetwork.com mark read register faq members calendar

Thread: whoa, neat javascript trick!
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 06-04-2007, 07:52 AM   #1
Lightsaberboy
@Lightsaberboy
COME ON!
 
Lightsaberboy's Avatar
 
Join Date: Jul 2002
Location: in a galaxy far far away
Posts: 1,373
10 year veteran!  Forum Veteran 
whoa, neat javascript trick!

replace the address in the url bar with the stuff below.

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++}se tInterval('A()',5); void(0);

paste that into the url bar of any page then load it. it makes the images on that page swirl around!!


It's my ILLUSION!
Lightsaberboy is offline   you may:
Old 06-04-2007, 08:08 AM   #2
BKKeno
@Black Knight of Keno
Words. Words everywhere.
 
Black Knight of Keno's Avatar
 
Join Date: Oct 2003
Location: Bergen, Norway
Posts: 3,942
Roleplayer 
Dude...! Trippy


Black Knight of Keno is offline   you may:
Old 06-04-2007, 10:30 AM   #3
tk102
@tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,768
Current Game: FTL
10 year veteran!  Forum Veteran  Helpful!  Notable contributor 
I have to say that's pretty cool.
tk102 is offline   you may:
Old 06-04-2007, 10:43 AM   #4
IG-64
@IG-64
Moderator
 
IG-64's Avatar
 
Status: Moderator
Join Date: Sep 2003
Location: Houston, Tx.
Posts: 5,959
LFN Staff Member  Forum Veteran 
Try it on this page.

Wheee! Nice find.
IG-64 is offline   you may:
Old 06-04-2007, 11:42 AM   #5
Jeff
@Jeff
Rating: Awesome
 
Jeff's Avatar
 
Status: Administrator
Join Date: Jan 2005
Location: Chicago, IL, USA
Posts: 8,443
Current Game: SWTOR
10 year veteran!  Imperialist Meatbags Guild Officer  The Walking Carpets Guild Officer  Notable contributor 
I've seen this before, but it is indeed a cool trick!


Follow me on Twitter
Follow StarWarsMMO.net on Twitter | Like us on Facebook
Jeff is offline   you may:
Old 06-04-2007, 11:49 AM   #6
milo
@milo
[]D [] []V[] []D [] []\[]
 
milo's Avatar
 
Join Date: Jan 2006
Location: Chora's Den.
Posts: 2,039
Nice! I like.


"I'm not even angry. I'm being so sincere right now,
Even though you broke my heart and killed me.
And tore me to pieces...
And threw every piece into a fire.
As I burned, it hurt because
I was so happy for you." - GLaDOS
milo is offline   you may:
Old 06-04-2007, 01:38 PM   #7
Alegis
@Alegis
In hiding
 
Alegis's Avatar
 
Join Date: Aug 2003
Location: Belgium
Posts: 3,882
LFN Staff Member 
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Post that in your address bar and impress everyone with your elite hax skills.


-"The glass is neither half-full nor half-empty: it's twice as big as it needs to be."
Alegis is offline   you may:
Old 06-04-2007, 08:16 PM   #8
Jeff
@Jeff
Rating: Awesome
 
Jeff's Avatar
 
Status: Administrator
Join Date: Jan 2005
Location: Chicago, IL, USA
Posts: 8,443
Current Game: SWTOR
10 year veteran!  Imperialist Meatbags Guild Officer  The Walking Carpets Guild Officer  Notable contributor 
Quote:
Originally Posted by Alegis
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Post that in your address bar and impress everyone with your elite hax skills.
Now that is awesome.


Follow me on Twitter
Follow StarWarsMMO.net on Twitter | Like us on Facebook
Jeff is offline   you may:
Old 06-05-2007, 07:56 AM   #9
Hermie
@Hermie
vs. The World.
 
Hermie's Avatar
 
Join Date: Oct 2003
Location: on a highway to hell
Posts: 1,318
Current Game: On the top of it.
Forum Veteran 
Oh, I will have so much fun doing this on random people in my class who leave their computer unguarded... =D


Hermie is offline   you may:
Old 06-05-2007, 09:44 AM   #10
BongoBob
@BongoBob
Good Eye, Sniper
 
BongoBob's Avatar
 
Join Date: May 2003
Location: The Camper Velourium
Posts: 6,391
Current Game: BC2, FFXIII
The Walking Carpets Guild Member  Forum Veteran 
Quote:
Originally Posted by Herminator
Oh, I will have so much fun doing this on random people in my class who leave their computer unguarded... =D
I had the exact same thought


BongoBob is offline   you may:
Old 06-05-2007, 07:10 PM   #11
Commander Obi-Wan
@Commander Obi-Wan
Gold Standard
 
Commander Obi-Wan's Avatar
 
Join Date: Aug 2005
Posts: 5,363
Current Game: BioShock 2
Forum Veteran 
I've seen it before as well. But, that as a neat little trick.


Commander Obi-Wan is offline   you may:
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > LucasForums Archive > Star Wars: Jedi Knight series > Community > Yoda’s Swamp > whoa, neat javascript trick!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:52 PM.

LFNetwork, LLC ©2002-2015 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.