Victory Road  

Go Back   Victory Road > General > Technology
FAQ Community Today's Posts Search

Notices

 
 
Search this Thread
  #1  
Old April 23, 2010, 04:10:54 PM
Buizel456's Avatar
Buizel456 Buizel456 is offline
Haxorus
 
Join Date: Sep 2009
Location: The Buizel Dimension
Posts: 391
Default Fun Javascript code; Dancing Images

Code:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=20
0; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; D
IS.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)
Title says all. Just copy and paste into your browser. If you wanna edit sites, Click Here
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	536
Size:	510.4 KB
ID:	547   Click image for larger version

Name:	Capture2.PNG
Views:	429
Size:	361.3 KB
ID:	548  
  #2  
Old April 23, 2010, 07:10:56 PM
Yoshizard's Avatar
Yoshizard Yoshizard is offline
Haxorus
 
Join Date: Oct 2009
Location: Saffron City
Posts: 360
Default

The images were moving so fast, that my comp was freezing up on some pages. XD
  #3  
Old April 24, 2010, 03:28:03 AM
Jaredvcxz Jaredvcxz is offline
Giratina
 
Join Date: Nov 2009
Posts: 3,185
Default

Awesome. The images still retain their links and other functions, too.
  #4  
Old April 24, 2010, 09:10:15 AM
emperorempoleon2's Avatar
emperorempoleon2 emperorempoleon2 is offline
Haxorus
 
Join Date: Sep 2009
Location: In the outlet by the lightswitch
Posts: 439
Default

IT'S A TORNADO!!!!!
  #5  
Old April 24, 2010, 11:30:36 AM
FreezeWarp's Avatar
FreezeWarp FreezeWarp is offline
Kyurem
 
Join Date: Oct 2009
Posts: 2,186
Default

*goes to Javascript console*

Haha, this is fun.

Edit: help the images!
Attached Thumbnails
Click image for larger version

Name:	7.png
Views:	466
Size:	316.5 KB
ID:	567  

Last edited by FreezeWarp; April 24, 2010 at 11:32:43 AM.
  #6  
Old April 26, 2010, 09:53:03 PM
Buizel456's Avatar
Buizel456 Buizel456 is offline
Haxorus
 
Join Date: Sep 2009
Location: The Buizel Dimension
Posts: 391
Default

Seems people are having fun with it
  #7  
Old April 27, 2010, 03:48:19 AM
GuildmasterWigglytuff's Avatar
GuildmasterWigglytuff GuildmasterWigglytuff is offline
Zoroark
 
Join Date: Mar 2010
Location: Somewhere you will never guess.
Posts: 273
Default

My internet froze sometimes, but it was cool.
  #8  
Old May 6, 2010, 06:43:24 AM
Dilster3000's Avatar
Dilster3000 Dilster3000 is offline
Haxorus
 
Join Date: Mar 2010
Location: My House
Posts: 314
Default

I am not surprised, I got this code in an other forum back in 2008.
I loved it but now it's kinda boring..

Last edited by Dilster3000; January 15, 2011 at 07:39:39 AM.
  #9  
Old May 6, 2010, 07:00:19 AM
Ningamer's Avatar
Ningamer Ningamer is offline
Giratina
 
Join Date: Sep 2009
Location: South-East England
Posts: 3,415
Default


That's awesome! I have one somewhere that lets you fling the images about.
  #10  
Old January 5, 2011, 12:18:54 PM
LucarioMario's Avatar
LucarioMario LucarioMario is offline
Volcarona
 
Join Date: Aug 2010
Location: School, football, doing HW, etc.
Posts: 547
Default

Awsomeness.
  #11  
Old January 13, 2011, 04:17:57 PM
SolarYoshi's Avatar
SolarYoshi SolarYoshi is offline
Haxorus
 
Join Date: Dec 2010
Location: ..Why are you asking?
Posts: 345
Default

How do I make this work?
  #12  
Old January 14, 2011, 12:09:12 PM
LucarioMario's Avatar
LucarioMario LucarioMario is offline
Volcarona
 
Join Date: Aug 2010
Location: School, football, doing HW, etc.
Posts: 547
Default

Quote:
Originally Posted by Zekrom123 View Post
How do I make this work?
You copy and paste the code on the URL bar at the top. It probably doesn't work on a new tab, you have to paste it on while you're already viewing a web page so it works. In this case, all the images on the page start dancing.
 

Forum Jump


All times are GMT -8.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Victory Road ©2006 - 2024, Scott Cat333Pokémon Cheney
Theme by A'bom and Cat333Pokémon