...

View Full Version : need help with a javascript



HalfDead
07-12-2004, 12:47 PM
I have animated gifs that are set to change on mouseover, but if you move off the pic the animation stops. how do I make it so that the animation finishes even if you move the mouse?
Here's a link to a page that has the stuff I want to do
the navigation bar at the top of the main page has mousovers that go on after you have moved the mouse pls help this nub...
thanks in advance for the help
http://nelly.net/main.html

jamescover
07-12-2004, 06:34 PM
how do I make it so that the animation finishes even if you move the mouse?


I don't think there is any way to prevent this, at least, no easy/practical way...



-james

Willy Duitt
07-12-2004, 07:37 PM
I get nothing showing on the link you provided because I surf with Active X disabled which I would assume is why the animation continues. That site is made in flash which I also have disabled......

And without seeing the code you are using, I'm afraid that all anyone can offer is continued guesses of what your problem may be......

.....Willy

HalfDead
07-12-2004, 09:13 PM
I don't have a code, i wanted to know if anyone had one or knew of one that would get me these results

Willy Duitt
07-12-2004, 09:56 PM
Something like this should work but you may need to also use either setTimeout or setInterval to keep checking until the image is complete....

onmouseout="if(this.src.complete)this.src='newImage.gif'"

HalfDead
07-12-2004, 11:18 PM
ill try that thx willy
:)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum