Go Back   Team-BHP > Around the Corner > Shifting gears


Reply
 
Thread Tools Search this Thread
Old 13th September 2006, 22:19   #1
Senior - BHPian
 
satish_appasani's Avatar
 
Join Date: Jun 2004
Location: Hyderabad
Posts: 1,029
Thanked: 42 Times
Default Webpage on steroids

Received this in my mail

1) Open any website.....which contains images (u can use ur company home page/intranet)

2) Copy below given code and paste on the Address bar of the same browser window and press enter ............
3) All images will be played......


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++}setInterv al('A()',5); void(0)
satish_appasani is offline   Reply With Quote
Old 13th September 2006, 23:21   #2
BHPian
 
furioussphinx's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 536
Thanked: 2 Times
Default

I dont see anything happening.......tried it on both, IE and Firefox......
furioussphinx is offline   Reply With Quote
Old 14th September 2006, 00:21   #3
Senior - BHPian
 
satish_appasani's Avatar
 
Join Date: Jun 2004
Location: Hyderabad
Posts: 1,029
Thanked: 42 Times
Default

See what it has done to my TBHP page

satish_appasani is offline   Reply With Quote
Old 14th September 2006, 00:27   #4
BHPian
 
gr8guzzler's Avatar
 
Join Date: Apr 2005
Location: Navi Mumbai
Posts: 648
Thanked: 38 Times
Default

Quote:
Originally Posted by furioussphinx
I dont see anything happening.......tried it on both, IE and Firefox......
Same here....nothing, just get an error at the bottom.
gr8guzzler is offline   Reply With Quote
Old 14th September 2006, 00:30   #5
BHPian
 
furioussphinx's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 536
Thanked: 2 Times
Default

Quote:
Originally Posted by satish_appasani
See what it has done to my TBHP page


Nopes didnt work again.......but i know what was supposed to happen.......all the display pics fly around na???? I got a similar code last time on orkut and it worked there.
furioussphinx is offline   Reply With Quote
Old 14th September 2006, 00:38   #6
Distinguished - BHPian
 
jkdas's Avatar
 
Join Date: Sep 2005
Location: Thiruvananthapu
Posts: 9,635
Thanked: 1,343 Times
Default

Quote:
Originally Posted by gr8guzzler
Same here....nothing, just get an error at the bottom.
:( nope!

did we miss anything?
jkdas is offline   Reply With Quote
Old 14th September 2006, 01:07   #7
BANNED
 
Join Date: Mar 2006
Location: India
Posts: 4,346
Thanked: 16 Times
Default

There seems to be an error in the code. It does'nt work.
speedzak is offline   Reply With Quote
Old 14th September 2006, 08:47   #8
BHPian
 
Harrie's Avatar
 
Join Date: Feb 2005
Location: KA 03, KL 12, TN 38
Posts: 699
Thanked: 20 Times
Default

The script uses Java script. You must have it enabled on your web browser I guess. Works fine for me.
Harrie is offline   Reply With Quote
Old 14th September 2006, 09:02   #9
Distinguished - BHPian
 
condor's Avatar
 
Join Date: Jun 2006
Location: Speed-brkr City
Posts: 10,320
Thanked: 3,664 Times
Default Remove the spaces

javascript:R=0;x1=.1;y1=.05;x2=.25;y2=.24;x3=1.6;y 3=.24;x4=300;y4=200;x5=300;y5=200;DI=document.imag es;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)

remove the spaces too .. like the one in "Interv al" in the original post.
condor is offline   Reply With Quote
Old 14th September 2006, 14:44   #10
Senior - BHPian
 
Gordon's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,420
Thanked: 160 Times
Default

NOTE TO MODERATOR:

The code caused me problems. Normal viewing of Team-BHP is hampered. No images are showing.


Gordon is offline   Reply With Quote
Old 14th September 2006, 15:26   #11
Senior - BHPian
 
Join Date: Oct 2005
Location: Gujarat 03
Posts: 1,302
Thanked: 10 Times
Default

Similar Problem..



Mugen_Power.
Mugen_Power is offline   Reply With Quote
Old 14th September 2006, 15:33   #12
Senior - BHPian
 
Gordon's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,420
Thanked: 160 Times
Default

Is there any way to reverse the process?
I tried deleting temporary files/cookies/history but to no avail.
Copy-pasted the code on the Team-BHP window.
Only Team-BHP is behaving in this fashion.
Gordon is offline   Reply With Quote
Old 14th September 2006, 16:12   #13
BHPian
 
Join Date: Jul 2004
Location: Utopia!
Posts: 577
Thanked: 83 Times
Default

I dont think missing images has anything to do with the above code...
Digital Vampire is offline   Reply With Quote
Old 14th September 2006, 16:53   #14
BHPian
 
Join Date: Sep 2005
Location: Chennai
Posts: 73
Thanked: 3 Times
Smile Just refresh

I just refreshed after playing with the javascript and things were back to normal.
vennarbank is offline   Reply With Quote
Old 15th September 2006, 17:44   #15
BHPian
 
ollie's Avatar
 
Join Date: Apr 2006
Location: Mumbai
Posts: 289
Thanked: 0 Times
Default

It aint working with me dude !
ollie is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gypsy on Steroids: Lockers installed and tested now khan_sultan 4x4 Technical 192 26th June 2014 23:34
Gypsy on Steroids: Maxxis Trepador M8060 MT. Update Now on Yoko Geolander MT! khan_sultan 4x4 Technical 102 27th August 2010 16:46
Gypsy on Steroids: The Rockcrawler 4.16:1 T-Case Gearset. khan_sultan 4x4 Technical 94 24th July 2009 22:47
Gypsy on Steroids: Next Dose -- Short Chassis for reduced rear overhang khan_sultan 4x4 Technical 56 24th March 2009 12:39


All times are GMT +5.5. The time now is 20:33.

Copyright 2000 - 2017, Team-BHP.com
Proudly powered by E2E Networks