Jump to content
Search Community

EmAnd

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by EmAnd

  1. Hi! 

     

    - I would like to start a timeline on mouseenter, that will run infinite until mouseleave. 

    - During the timeline I don't want it to morph with the initial circle (shape1)

    - On mouseleave I would like it to return to initial circle(shape1) smoothly. 

     

    1. Right now my mouseleave function returns Uncaught TypeError: tl.paus is not a function 

    2. The progress[0] makes it hacky. 

     

    Can someone point me in the right direction in how to structure it? :) 

     

    See the Pen NWyrXKw by emmanders (@emmanders) on CodePen

  2. Hey! I would like the timeline to be completed before it fires again. Now when you hover really quickly it doesn't look good at all. I'm missing something in the structure that I struggle to find out. My first thought was to find the isActive() and then do some if statements. But isActive() is returning false all the time. 

     

    - How can I finish the timeline before it fires again?

    - Do someone know why isActive() always returning false? 

     

    This is probably a rookie mistake, and, this is my first post in a forum (ever!), so let me know if I could explain/structure my post better! 

    See the Pen porooOQ by emmanders (@emmanders) on CodePen

×
×
  • Create New...