Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    need help with a javascript

    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

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #3
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't have a code, i wanted to know if anyone had one or knew of one that would get me these results

  • #5
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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'"

  • #6
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ill try that thx willy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •