| | |||||||
| Fun & Recreation Travel, vacationing, enjoying life, pleasurable experiences, adventure, games, jokes, humorous stories |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member Join Date: Apr 2008
Posts: 27
|
Javascript at it's finest. One of my friends told me about this on one of my sites, basically what it does is make whatever site your on it's images fly around in a tornado effect. You just have to copy and paste the following into your address bar (and no, this seriously isn't a hack or anything of the sort - promise) 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); |
| | |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| why do people get bored | sonicpunk32 | Social & Relationships | 29 | 12-05-2011 07:33 PM |
| Things to do when you're bored | jacab | Social & Relationships | 16 | 03-13-2010 04:37 AM |
| I am disgruntled and bored with life. | dennis08 | Health & Fitness | 7 | 10-06-2007 02:35 PM |
| Is Javascript required for Google Adsense? | brooksr | Technology & Technical Skills | 4 | 01-25-2007 04:20 AM |
| A valid (and entertaining) point! | Genius_Cube | Technology & Technical Skills | 1 | 01-22-2007 04:57 PM |
All times are GMT. The time now is 05:08 AM.




