There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tech Tips & Tricks
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
Cool Javascript Code

Reply  
Thread Tools
knight_47's Avatar
Senior Member with 1,205 posts.
 
Join Date: Mar 2006
Location: →
Experience: Um... Green?!
07-Oct-2006, 08:04 PM #1
Cool Javascript Code
Code:
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);
Paste it on your address bar or bookmark it. Press enter on the address bar and you will get a surprise.

Its better if you go to a site with a lot of pictures, like a google image search.
ferrija1's Avatar
Computer Specs
Distinguished Member with 9,756 posts.
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Experience: Mac Addict
08-Oct-2006, 08:24 PM #2
I don't understand your directions. What does it do?
knight_47's Avatar
Senior Member with 1,205 posts.
 
Join Date: Mar 2006
Location: →
Experience: Um... Green?!
08-Oct-2006, 09:05 PM #3
Ok, go to google.com, search for an image, now on the page where it displays all the images yielded in your search, copy the code, paste it in the URL, and hit enter.
hewee's Avatar
Computer Specs
Distinguished Member with 57,922 posts.
 
Join Date: Oct 2001
Location: *Random People Pleaser***Sacra
Experience: Having fun
09-Oct-2006, 01:55 AM #4
Wow real cool effect.
ferrija1's Avatar
Computer Specs
Distinguished Member with 9,756 posts.
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Experience: Mac Addict
09-Oct-2006, 09:58 AM #5
Thats cool. You could make a webpage with planet's pictures and do that.
Kenny94's Avatar
Account Disabled with 2,481 posts.
 
Join Date: Dec 2004
Location: S.C
09-Oct-2006, 03:40 PM #6
This is neat! I'm going to have some fun with my friend's computers on this one...
knight_47's Avatar
Senior Member with 1,205 posts.
 
Join Date: Mar 2006
Location: →
Experience: Um... Green?!
09-Oct-2006, 03:46 PM #7
Quote:
Originally Posted by ferrija1
Thats cool. You could make a webpage with planet's pictures and do that.
That's actually a really really good idea!
ferrija1's Avatar
Computer Specs
Distinguished Member with 9,756 posts.
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Experience: Mac Addict
09-Oct-2006, 09:04 PM #8
Did you make that, knight?
knight_47's Avatar
Senior Member with 1,205 posts.
 
Join Date: Mar 2006
Location: →
Experience: Um... Green?!
09-Oct-2006, 09:47 PM #9
Did I make the code? Oh heck no! I'm not that good, not even close.
ferrija1's Avatar
Computer Specs
Distinguished Member with 9,756 posts.
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Experience: Mac Addict
09-Oct-2006, 10:19 PM #10
Thats what I thought .
knight_47's Avatar
Senior Member with 1,205 posts.
 
Join Date: Mar 2006
Location: →
Experience: Um... Green?!
09-Oct-2006, 11:02 PM #11
Quote:
Originally Posted by ferrija1
Thats what I thought .
Hey
bkzballa's Avatar
Senior Member with 933 posts.
 
Join Date: Oct 2005
Location: New York City
Experience: OK ... I Guess =)
17-Oct-2006, 11:37 PM #12
Cool
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:45 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.