Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology > Internet
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
Closed Thread Start New Thread
 
Old 08-06-2007, 10:56 AM
 
Location: Wellsburg, WV
3,289 posts, read 9,186,341 times
Reputation: 3638

Advertisements

1. Go to Google
2. Click images
3. Type "flowers" or any other word.
4. You will get a page which is full of images
5. Then delete the URL from the address bar and paste the below script and hit return

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


6. See the magic of programming Liz

 
Old 08-06-2007, 11:42 AM
 
8,377 posts, read 30,898,943 times
Reputation: 2423
Nothing happened
 
Old 08-06-2007, 11:47 AM
 
Location: Vero Beach, Fl
2,976 posts, read 13,372,728 times
Reputation: 2265
Verrrrry cool! Thanks for sharing.
 
Old 08-06-2007, 12:12 PM
 
Location: Wellsburg, WV
3,289 posts, read 9,186,341 times
Reputation: 3638
Quote:
Nothing happened
Are you using Vista? A friend of mine is and said the same thing. Liz
 
Old 08-06-2007, 12:17 PM
 
8,377 posts, read 30,898,943 times
Reputation: 2423
Quote:
Originally Posted by southernlady5464 View Post
Are you using Vista? A friend of mine is and said the same thing. Liz
XP home. :/ Tried Firefox and then IE.
 
Old 08-06-2007, 12:22 PM
 
Location: Wellsburg, WV
3,289 posts, read 9,186,341 times
Reputation: 3638
That's odd. I'm using XP pro and Windows Media, and used Firefox. With IE7 it gives an error on the page. Liz
 
Old 08-06-2007, 12:28 PM
 
Location: California
157 posts, read 675,391 times
Reputation: 75
Java != Javascript
 
Old 08-06-2007, 12:38 PM
 
Location: Wellsburg, WV
3,289 posts, read 9,186,341 times
Reputation: 3638
I went back to the email I got to make sure I got the code right:

Quote:
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++}setInterv al('A()',5); void(0)
Try again. Liz
 
Old 08-06-2007, 12:44 PM
 
Location: Rural Central Texas
3,674 posts, read 10,603,652 times
Reputation: 5582
nothing happens for me either. Are there specific settings that must be enabled besides javascript?
 
Old 08-06-2007, 12:47 PM
 
Location: Wellsburg, WV
3,289 posts, read 9,186,341 times
Reputation: 3638
Nope, not that I know of. Liz
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Closed Thread


Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Internet
Similar Threads

All times are GMT -6. The time now is 01:33 AM.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top