RetouchPRO

Go Back   RetouchPRO > Community > Salon
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Salon Just hanging around...
(Social area, where non-retouching talk is encouraged)

Fun harmless javascript trick

Reply
 
Thread Tools
  #1  
Old 10-23-2006, 06:59 PM
Doug Nelson's Avatar
Doug Nelson Doug Nelson is offline
Janitor
 
Join Date: Aug 2001
Posts: 7,068
Blog Entries: 21
Fun harmless javascript trick

Copy the following, navigate to the Challenges page, then paste it into your browser's address field and hit return

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.getElementsByTagName("img"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
It actually works with any page, but it's just cooler with lots of thumbnails. To stop it just hit refresh.
Reply With Quote top
  #2  
Old 10-23-2006, 08:34 PM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
Re: Fun harmless javascript trick



Cool, Doug.

Reply With Quote top
  #3  
Old 10-23-2006, 08:52 PM
mistermonday's Avatar
mistermonday mistermonday is offline
Moderator
Patron
 
Join Date: Dec 2005
Posts: 3,028
Re: Fun harmless javascript trick

Doug, definitely cool!! It may be harmless but if you paste it into the Adobe PS user forum link below, it raises a whole bunch of red flags with Adobe.

http://www.adobeforums.com/cgi-bin/webx?14@@.ee6b366

Regards, Murray
Reply With Quote top
  #4  
Old 10-23-2006, 09:11 PM
DannyRaphael's Avatar
DannyRaphael DannyRaphael is offline
Moderator
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,300
Re: Fun harmless javascript trick

Quote:
Originally Posted by byRo


Cool, Doug.

What Rô said. What a riot.
Reply With Quote top
  #5  
Old 10-23-2006, 10:14 PM
Craig Walters's Avatar
Craig Walters Craig Walters is offline
Senior Member
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,786
Blog Entries: 4
Re: Fun harmless javascript trick

isnt that fascinating. where do we find these things?
Reply With Quote top
  #6  
Old 10-24-2006, 05:47 AM
Gary Richardson's Avatar
Gary Richardson Gary Richardson is offline
Senior Member
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,717
Re: Fun harmless javascript trick

You've got too much free time on your hands Doug.

You should be busy chasing the contractors, to make sure that the moderators new swimming pool and sauna complex gets finished on time.
Reply With Quote top
  #7  
Old 10-24-2006, 08:48 AM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
Re: Fun harmless javascript trick

Quote:
Originally Posted by Gary Richardson
You should be busy chasing the contractors, to make sure that the moderators new swimming pool and sauna complex gets finished on time.
Gary, you can't post this here - please use the moderator's thread.
Otherwise everybody's going to know about the big christmas party at Doug's place.

Reply With Quote top
  #8  
Old 10-24-2006, 09:15 AM
Gary Richardson's Avatar
Gary Richardson Gary Richardson is offline
Senior Member
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,717
Re: Fun harmless javascript trick

OOPS!

And to think I nearly mentioned the RP Ferrari that Flora's been hogging all this time.
Reply With Quote top
  #9  
Old 10-24-2006, 10:44 AM
T Paul's Avatar
T Paul T Paul is offline
Moderator
 
Join Date: Aug 2001
Location: USA
Posts: 2,987
Re: Fun harmless javascript trick

Gary,

Flora promised I could have it next!
Reply With Quote top
  #10  
Old 10-24-2006, 05:37 PM
Gary Richardson's Avatar
Gary Richardson Gary Richardson is offline
Senior Member
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,717
Re: Fun harmless javascript trick

Not fair, I was promised it next, you're just picking on me cos I'm a newbie.

EDIT: In danger of going a bit too far OT here, sorry.
Reply With Quote top
Reply

  RetouchPRO > Community > Salon


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial (link): Amazing circles (Photoshop) - another fun fad palms Photo-Art Resources 75 10-23-2009 11:28 PM
Bit of fun palms Photo-Based Art 19 05-09-2007 04:01 PM
Photo-detective - a bit of fun NancyJ Photo Compositing 12 05-02-2007 08:25 PM
Javascript program garfield Software 4 12-02-2002 09:40 AM
Fun Fakes mnadi Critiques 15 07-10-2002 08:51 AM


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved