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


Reply
 
Thread Tools Search this Thread
Old 15th September 2006, 18:05   #16
BHPian
 
furioussphinx's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 536
Thanked: 2 Times
Default

The code is 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)

pakka because I tried it on orkut scrapbook and it worked but in Team-bhp.........it acts really weird! Doesnt work!
furioussphinx is offline   Reply With Quote
Old 15th September 2006, 18:16   #17
BHPian
 
gkrishn's Avatar
 
Join Date: Aug 2004
Location: Bangalore
Posts: 584
Thanked: 36 Times
Default

Quote:
Originally Posted by furioussphinx
++}setInterv al('A()',5); void(0)
There is a small error with above code.... see the "setInterv al"... notice the space between "v" and "al", this what was causing the script not to work. I removed it and tried it on IE. It worked... though not properly on firefox.

heehee... 7 years out of collage, and i am still able to debug things pretty quickly

Last edited by gkrishn : 15th September 2006 at 18:18.
gkrishn is offline   Reply With Quote
Old 15th September 2006, 23:32   #18
BHPian
 
furioussphinx's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 536
Thanked: 2 Times
Default

Quote:
Originally Posted by gkrishn
There is a small error with above code.... see the "setInterv al"... notice the space between "v" and "al", this what was causing the script not to work. I removed it and tried it on IE. It worked... though not properly on firefox.

heehee... 7 years out of collage, and i am still able to debug things pretty quickly
a copy paste typo yeah its interval and not inter val
furioussphinx 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:19.

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