Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Rotating Images, Watch Google Images Spins
-[Nero]-
post Nov 17 2006, 10:59 AM
Post #1


Premium Member
********

Group: Members
Posts: 196
Joined: 25-October 06
Member No.: 32,173



Here is something cool. Open the Google image search and search for any image u like. Then, replace the whole address to this

CODE

java script: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);


You will see the image rotate in a circle but it will end after you click next page or search for another image.

Notice from jlhaslip:
Added Code tags
Go to the top of the page
 
+Quote Post
rvalkass
post Nov 17 2006, 07:19 PM
Post #2


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,055
Joined: 28-May 05
From: Hertfordshire, England
Member No.: 7,593
Spam Patrol



Just ran it on Google and then here on the Trap. Absolutely no practical use, but very fun to watch! I am presuming it will work on any website at all, not just Google.
Go to the top of the page
 
+Quote Post
Saint_Michael
post Nov 17 2006, 10:08 PM
Post #3


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,305
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



I just tried it and either I am stupid (which I am not), but I put it into th address bar and nothing happen am I missing something?
Go to the top of the page
 
+Quote Post
Bkag
post Nov 17 2006, 11:02 PM
Post #4


Super Member
*********

Group: Members
Posts: 323
Joined: 4-June 06
Member No.: 24,722



Sm, im in the same boat as you, i just get google saying we cannot find a page containing
java script:R=0; x......................

I assume you put this in the address bar ?
Go to the top of the page
 
+Quote Post
NigaiAmaiYume
post Nov 18 2006, 12:37 AM
Post #5


Advanced Member
*******

Group: Members
Posts: 100
Joined: 10-September 06
From: Dreaming in the Sands of Time
Member No.: 29,739



I would assume there should be some place you add the address of the original image. I'm just not sure where in the code you listed....

Would someone be nice enough to clear the matter up for us that are bored and easily amused? ^-^
Go to the top of the page
 
+Quote Post
interpol
post May 8 2007, 07:41 PM
Post #6


Newbie [Level 1]
*

Group: Members
Posts: 15
Joined: 10-March 07
From: belgium
Member No.: 39,798



Ok,so it won't work ....
try letting the space out between java and script so you get "java script:....."
btw: Does anyone know a site to (proffesionaly) learn javascript?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Google Analytics(11)
  2. New Extension For Firefox!(3)
  3. Google Office Soon(27)
  4. Google Spreadsheets: A Threat To Excel?(33)
  5. Google Music Trends(12)
  6. Google Related Links(1)
  7. Google Page Creator Updated(2)
  8. Google T.v, Possible Hoax?(4)
  9. Google Domain Parking Service(0)
  10. Mispelled Google Search List(1)
  11. Learn Google Technologies(0)
  12. Wanna Work In Google?(2)
  13. Google Project Hosting - Next Sourceforge(0)
  14. Google Barebones Search(0)
  15. Google Microsoft Search(0)
  1. Google Code Search(0)
  2. Google Antivirus And Firewall. Will It Ever Happen!(6)
  3. Google Pack Add In New Security Goodies(2)
  4. Google Maps(3)
  5. Google Phone Is Confirmed By New York Times(6)
  6. Google Reveals Isp / Web Portal Based Applications(4)
  7. Google Gears(1)
  8. Google Apps Email Custom Login Page Request(2)
  9. Google Tv Exists And How To Invite Yourself!(9)
  10. No Windows 98 Support From Google?(11)
  11. Google Android Killed The Wap Star(1)
  12. Knol- Google Encyclopedia(4)
  13. Google Has Been Acting Funky For The Last 5 Or So Days!(23)


 



- Lo-Fi Version Time is now: 25th July 2008 - 10:46 PM