The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
5 posters

    Make gifs finish their animation on hover ?

    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    Make gifs finish their animation on hover ? Empty Make gifs finish their animation on hover ?

    Post by SpyroDragon July 14th 2020, 2:35 pm

    So i want to make my navigation bar animated, and i want it to where when you hover over, ittl pop up in flames, but it looks wierd if they unhover mid animation and the flames just disapeer, is there anyway to have some kind of javascript or code to make it to where if they hover, the animation is forced to play all the way through or to play a " unhovered " animation ?

    Better yet is there a way to play a " start animation " on hover then switch to a loop animation that will play as long as the mouse cursor is on the button?
    then to play a " unhovered " animation after the mouse takes off the button ?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Make gifs finish their animation on hover ? Empty Re: Make gifs finish their animation on hover ?

    Post by SLGray July 15th 2020, 9:54 pm

    burbigo2 wrote:Hey, I would love to help but I don't know much about animation
    Please do not post unless you are offering a solution or advice.



    Make gifs finish their animation on hover ? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    Make gifs finish their animation on hover ? Empty Re: Make gifs finish their animation on hover ?

    Post by SpyroDragon July 28th 2020, 1:42 pm

    bump
    tikky
    tikky
    Forumember


    Posts : 923
    Reputation : 160
    Language : 🇵🇹

    Make gifs finish their animation on hover ? Empty Re: Make gifs finish their animation on hover ?

    Post by tikky July 28th 2020, 2:34 pm

    Hello @SpyroDragon,

    I don't know if I understood the idea correctly because from what I see on your forum you already use the
    Code:
    :hover

    So you just need to change, for example the logout button:
    Code:
    #i_icon_mini_logout {
     background: url(https://i.servimg.com/u/f39/17/84/98/50/logout10.gif) no-repeat 0 0;
      height:133px;
      width:196px
    }
    To the gif image URL
    and
    Code:
    #i_icon_mini_logout:hover {
     background: url(https://i.servimg.com/u/f18/17/84/98/50/logout10.png) no-repeat 0 0;
    }
    to the "no-gif" image URL


    Last edited by pedxz on July 28th 2020, 2:41 pm; edited 1 time in total

    TonnyKamper likes this post

    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19437
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Make gifs finish their animation on hover ? Empty Re: Make gifs finish their animation on hover ?

    Post by Ape July 28th 2020, 2:40 pm




    Make gifs finish their animation on hover ? Left1212Make gifs finish their animation on hover ? Center11Make gifs finish their animation on hover ? Right112
    Make gifs finish their animation on hover ? Ape_b110
    Make gifs finish their animation on hover ? Ape1010

    TonnyKamper likes this post

    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    Make gifs finish their animation on hover ? Empty Re: Make gifs finish their animation on hover ?

    Post by SpyroDragon July 30th 2020, 11:00 am

    ah i was looking for something similar, those are pause on hover, I want them to finish the loop on hover so when they unhover, the animation finishes ,-- nvm it seems this is too complicated and ive givin up on attempting this at the current moment in time, may revisit in the future.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Make gifs finish their animation on hover ? Empty Re: Make gifs finish their animation on hover ?

    Post by skouliki August 6th 2020, 2:00 pm

    evangilbert wrote:That is why I use home assignment service and professional tutor.

    Please don't hijack another member’s topic's.
    Please open your own thread if you having a problem with your forum.
    Please read our forum rules:ESF General Rules


      Current date/time is November 14th 2024, 9:18 pm