Awesome effect (just for fun)

Discuss all sorts of manner regarding the latest TV/games/music etc news. Pokémon chat goes in either Pokémon forums.

Moderator: Forum staff

User avatar
Pikachu3828
Code Monkey
Code Monkey
Posts: 4829
Joined: Tue 27 May, 2003 4:42 pm
Pokémon D/P Friend code: 0
Location: UK
Contact:

Awesome effect (just for fun)

Post by Pikachu3828 »

Hey guys,

I just discovered this awesome little piece of code I want to show you. Place this code in the address bar and press enter while still on this page:

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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);
It may not work with all browsers. I know it works in Opera because I've tried it myself!

Favourites: :Gyarados: :Tyranitar: :Zangoose: :Drapion: Image

Red: 151/151 | Gold: 247/251 | Fire Red: 376/386 | Heart Gold: 493/493 | Black: 649/649

Please do not PM me about bugs on the Adoption Agency. Instead, make a topic in the bugs forum.

User avatar
Pikachu90000
Pokémon master
Pokémon master
Posts: 13625
Joined: Sun 14 Sep, 2003 12:20 am
Pokémon D/P Friend code: 0
Location: The People's Democratic Sovereign Elitist Commonwealth of the Union of Cascadia
Contact:

Post by Pikachu90000 »

Cool, works with Firefox, it's like comet cursor with images. :)
Image
Have questions regarding about The Pika Club? The Pika Club Guide and FAQ

User avatar
HarukaChan
Moderator
Moderator
Posts: 141
Joined: Fri 04 Nov, 2005 5:38 pm
Pokémon D/P Friend code: 0
Location: Florida
Contact:

Post by HarukaChan »

Dear God....makes me dizzy.......O.o;;

User avatar
seavicky95
Cinnabar Island
Cinnabar Island
Posts: 3297
Joined: Sat 08 Jul, 2006 5:55 pm
Pokémon D/P Friend code: 468328574608
Location: CA

Post by seavicky95 »

how... strange.
Image

User avatar
zen
Indigo Plateau
Indigo Plateau
Posts: 5550
Joined: Fri 15 Jul, 2005 1:35 am
Pokémon D/P Friend code: 0
Location: Somewhere, sometime

Post by zen »

Guess it doesn't work with my computer....either that or I'm doing it wrong
ImageImage
Bio is incredible:http://www.studiodaily.com/main/techniq ... /6850.html

The universe is not indifferent to intelligence, it is actively hostile to it.

User avatar
HarukaChan
Moderator
Moderator
Posts: 141
Joined: Fri 04 Nov, 2005 5:38 pm
Pokémon D/P Friend code: 0
Location: Florida
Contact:

Post by HarukaChan »

If you do exaclty what he says, and nothing happens, your browser may not support it. ^^;;

User avatar
Ho-Oh
Celadon City
Celadon City
Posts: 740
Joined: Tue 22 Aug, 2006 1:00 am
Pokémon D/P Friend code: 43254632183
Location: U.S.A
Contact:

Post by Ho-Oh »

wow its weird
Disco Fever!
Image

User avatar
seavicky95
Cinnabar Island
Cinnabar Island
Posts: 3297
Joined: Sat 08 Jul, 2006 5:55 pm
Pokémon D/P Friend code: 468328574608
Location: CA

Post by seavicky95 »

:Wailord: try doing it in different places. that's what i did.

User avatar
zen
Indigo Plateau
Indigo Plateau
Posts: 5550
Joined: Fri 15 Jul, 2005 1:35 am
Pokémon D/P Friend code: 0
Location: Somewhere, sometime

Post by zen »

Still doesn't work....ah well.... :(
ImageImage
Bio is incredible:http://www.studiodaily.com/main/techniq ... /6850.html

The universe is not indifferent to intelligence, it is actively hostile to it.

User avatar
seavicky95
Cinnabar Island
Cinnabar Island
Posts: 3297
Joined: Sat 08 Jul, 2006 5:55 pm
Pokémon D/P Friend code: 468328574608
Location: CA

Post by seavicky95 »

that's too bad. :Wooper: it's really neat.
Image

User avatar
kirbypika
Lavender Town
Lavender Town
Posts: 1463
Joined: Sun 14 Sep, 2003 1:22 am
Pokémon D/P Friend code: 0
Location: Beijing,China

Post by kirbypika »

and then after that at the bottom, no one has avatars or siggys! Lol!


I see my Xfire! 300+ hours :D
Image

User avatar
Fazzy
Cinnabar Island
Cinnabar Island
Posts: 2142
Joined: Fri 01 Sep, 2006 2:13 am
Pokémon D/P Friend code: 313648434588
Location: Where's My Perma Title???
Contact:

Post by Fazzy »

Wow.. it's pretty cool...
Well, Timmy, aren't you being a cotton-headed ninny muggins.

User avatar
miradapurple
Indigo Plateau
Indigo Plateau
Posts: 5827
Joined: Mon 08 Aug, 2005 5:09 am
Pokémon D/P Friend code: 0
Location: Perdition.

Post by miradapurple »

That was cool. I guess the pictures just go on forever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and..........
I like fruit-flavored tea. : )

User avatar
Pikaman123
Cerulean City
Cerulean City
Posts: 242
Joined: Sun 23 Jul, 2006 9:55 pm
Pokémon D/P Friend code: 0
Location: Nonstop team base
Contact:

Post by Pikaman123 »

Wow! now thats cool!

User avatar
tikey
Viridian Forest
Posts: 98
Joined: Tue 11 Jul, 2006 10:55 am

Post by tikey »

Nice one.
Image

Post Reply