Go Back   Webmaster Forum > Development > Programming > JavaScript
REMOVE the ads below !
Reply
 
LinkBack Thread Tools
  # 1 (permalink)
Old
Newbie
Posts: 22
Join Date: Nov 2007
iTrader: (0)
Paste this into your address bar. - 11-15-2007

Paste this into your address bar.

Circles:

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

Oooo Tan curve Water falls!!!!


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.tan(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.tan(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
Other variations:

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

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()',50); void(0);

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*1+i*x2+x3)*x1+x2)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',50); void(0);
what you get????

.. Enjoy..

To put it more interesting follow this step:

1. Go to Google

2. Click images

3. Type "any pic you want(exe: britney)" or any other word or just put it at this post browser

4. You will get a page which is having full of images

5. Then delete the item from the address bar and paste the below script

Note make sure you have Java installed and Dont make a new tab just put it right in when a page is already open

Last edited by cicerone : 11-15-2007 at 05:22 PM.
Reply With Quote
  # 2 (permalink)
Old
The Computer Addict !
Posts: 2,093
Join Date: Feb 2007
iTrader: (0)
Location: Bhopal (MP, India)
Re: Paste this into your address bar. - 11-15-2007

lol... i tried a couple right on this thread page.
The "Tan curve Water falls" JS effect was sort-of weird !

Btw, is there any code to STOP them after the effect has already started ?

Thanx,
Shadab.
Reply With Quote
  # 3 (permalink)
Old
Newbie
Posts: 2
Join Date: Oct 2007
iTrader: (0)
Re: Paste this into your address bar. - 11-17-2007

This is pretty sweet. But its very distracting after a while.
Reply With Quote
  # 4 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
Re: Paste this into your address bar. - 11-27-2007

Nice codes dude ! You should post more of them
Reply With Quote
  # 5 (permalink)
Old
Newbie
Posts: 45
Join Date: Dec 2007
iTrader: (0)
Re: Paste this into your address bar. - 12-02-2007

Nice codes, never thought that you could do that with a web browser.
Reply With Quote
  # 6 (permalink)
Old
Designing Team Leader
Posts: 87
Join Date: Jun 2008
iTrader: (0)
Location: guidelineproducts.com
06-28-2008

Yeah those are cool! I never knew you could do that in the address bar like that... You should post more, if you know anymore


GuidelineProducts.com
I'm Selling : digitalpointer.net digitalpointer.info digitalpointing.net digitalpointing.info
Get a huge discount if you buy whole pack
Reply With Quote
Reply


Thread Tools



PSD to HTML

vBulletin®, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. | SEO by vBSEO | Skin developed by vBStyles.com