![]() Topic awaiting preservation: Timing Rollover Animations (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() http://www.twistedport.com/misc/rollproblems/ code: function waittrade(name,on,off,delayon,delayoff){
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() PS: I suspect a lot of your questions can be answered by looking on some of the threads here or following some of the links: |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() *gasp* |
Paranoid (IV) Inmate From: France |
![]() Petskull: you made a typo, remove the quotes around the delay, like this code: setTimeout('document.'+name+'.src = pics['+on+'].src', delayon ); Now it should work. |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() wow, poi- with a little modification, that worked beautifully!! |
Paranoid (IV) Inmate From: France |
![]()
code: function waittrade( ) Further improvements could be done to tackle special cases where you wish to set several images to the same state at the same time. To do so, you could replace the name argument by a list of names joined by a space / semicolon / smurf / ... and split it once in the trade function to process every single image |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() whoa!! that is so fucking cool!!!!! |