Lounge

®µD®A's Avatar
Blazing goIITian

Joined: 12 Apr 2008
Post: 2717
17 Sep 2008 17:57:10 IST
0 People liked this
10
1158 View Post
A small trick:
None

Copy paste this in your address bar and press enter.See the lights dance!!!


 


javascript: pri=0; nil=["orange","yellow","red","violet","navy","blue","green"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);


Share this article on:

Comments (10)

PrAtU  :)'s Avatar

Blazing goIITian

Joined: 29 Sep 2007
Posts: 973
17 Sep 2008 18:59:33 IST
0 people liked this

thanxx for the trick......its workin..... :)

Blazing goIITian

Joined: 28 Apr 2008
Posts: 781
17 Sep 2008 20:08:11 IST
0 people liked this

superb rudra..it works.
®µD®A's Avatar

Blazing goIITian

Joined: 12 Apr 2008
Posts: 2717
21 Sep 2008 17:27:37 IST
1 people liked this

here is another one: Dancing images. Copy paste in your address bar!



javascript:b=[]; a=document.images; for(wt=0;wt<a.length; wt++){a[wt].style.position='relative';b[


b.length]=a[wt]}; j=0;setInterval('j++; for(wt=0; wt<b.length;wt++){b[wt].style.left=Math.sin((6.28/a.length)*wt+j/10)*10};void(0)',1);void(0);

 

®µD®A's Avatar

Blazing goIITian

Joined: 12 Apr 2008
Posts: 2717
25 Sep 2008 17:28:52 IST
1 people liked this

yet another one: Do the same;


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)



Mirka's Avatar

Blazing goIITian

Joined: 13 Aug 2008
Posts: 1313
2 Oct 2008 18:09:46 IST
0 people liked this

Wow!! very cool

>> u got my rates!!
Raghudevan Shankar's Avatar

Blazing goIITian

Joined: 19 Aug 2007
Posts: 352
3 Oct 2008 19:22:40 IST
0 people liked this

none of these worked for me
®µD®A's Avatar

Blazing goIITian

Joined: 12 Apr 2008
Posts: 2717
3 Oct 2008 19:47:54 IST
0 people liked this

@
Raghudevan

Can you please tell me what you did?

Copy pate the code into your browser's address bar and press enter.
Raghudevan Shankar's Avatar

Blazing goIITian

Joined: 19 Aug 2007
Posts: 352
3 Oct 2008 20:09:05 IST
0 people liked this

yep, and i use a mozilla firefox browser
Mirka's Avatar

Blazing goIITian

Joined: 13 Aug 2008
Posts: 1313
3 Oct 2008 20:30:27 IST
0 people liked this

it worked in Mozilla and IE for me.
VARUN  RAJ's Avatar

Blazing goIITian

Joined: 16 Mar 2008
Posts: 1825
4 Oct 2008 00:46:33 IST
0 people liked this

DOESNT WORK IN OPERA



Quick Reply


Reply

Some HTML allowed.
Keep your comments above the belt or risk having them deleted.
Signup for a avatar to have your pictures show up by your comment
If Members see a thread that violates the Posting Rules, bring it to the attention of the Moderator Team
Free Sign Up!

Preparing for IIT-JEE ?

Arihant Revision Package for IIT JEE - Books, Practice Tests + Rank Predictor


@ INR 1,995/-

For Quick Info

Name

Mobile No.

Find Posts by Topics

Physics.

Topics

Mathematics.

Chemistry.

Biology

Parents

Board

Fun Zone

Sponsored Ads