MaryJanesFarm Farmgirl Connection
Join in ... sign up
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password        REGISTER
Forgot your Password?

 All Forums
 General Chat Forum
 Across the Fence
 fun with code...
 New Topic  Reply to Topic
 Printer Friendly
Author Across the Fence: Previous Topic fun with code... Next Topic  

GaiasRose
True Blue Farmgirl

2552 Posts

Tasha-Rose
St. Paul Minnesota
2552 Posts

Posted - Jan 08 2007 :  11:58:03 AM  Show Profile
This is fun! Take the following code, copyand paste it into your browser (works with both firefox and IE on any web page) and hit enter to see what happens...

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);


~*~Brightest Blessings~*~
Tasha-Rose
blogs: http://gaiarose.wordpress.com
http://frugalwitch.wordpress.com
http://tasharose365.wordpress.com/

Libbie
Farmgirl Connection Cultivator

3579 Posts

Anne E.
Elsinore Utah
USA
3579 Posts

Posted - Jan 08 2007 :  1:13:18 PM  Show Profile
Whoa! That one gives me a case of vertigo! Fun!!!

XOXO, Libbie

"Nothing is worth more than this day." - Goethe
Go to Top of Page

Mumof3
True Blue Farmgirl

3890 Posts

Karin
Ellenwood GA
USA
3890 Posts

Posted - Jan 08 2007 :  1:48:44 PM  Show Profile
Oh, gosh!! How did you do that? I'm dizzy!!

Karin
Go to Top of Page
  Across the Fence: Previous Topic fun with code... Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 Go To Top Of Page