Jump to content
Search Community

zozo last won the day on October 14 2018

zozo had the most liked content!

zozo

Members
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by zozo

  1. Hi, 

     

    I have a problem with a stagger on li with .staggerFrom('#list_artists li', .3 ,{opacity:0}, 0.04 ), only on firefox 48.0.2. 

    The list doesn't show all the element, only part of them, then few second later the rest appear. 

     

    I don't have that version of firefox, but the client showed me a screen capture. 

    I was wondering if there was a known issue with stagger opacity and firefox 48, or if it was just my code. 

     

    Thanks, 

     

    Best

     

    See the Pen by (@) on CodePen

  2. Hi, 

     

    I have a logo that is revealed with a Timeline. 

    When a video start, I want to wait 4 sec, and call the reverse on the timeline. 

    To complicate things I want to pause the reverse in case you pause the video (or when it buffer), in order to have my reverse called only when the video has played 4 sec. 

     

    for now I'm using this on video play  

    TweenMax.delayedCall(4, function() {
              drawLogoWhite.reverse()
     });

     

    But of course, if the video is paused, the delayedCall isn't paused. how can I do ? 

     

    Thanks,

    Best.

     

     

  3. Wha, this is great !

    I guess I could just change the line element to a path and it would work, but it's great to see every one so reactive and passionate to make tweenmax perfect !

    You guys are awesome !

    • Like 2
  4. Hi every one, 

     

    I have an issue with draw svg on Firefox. 

    It's pretty weird, on my website, the animation work, but not until the end, and then I have an error : TypeError: e is undefined and it loop with that error. 

    On the code pen, it doesn't work at all. 

    But it work fine chrome and safari. 

    Thanks for the help. 

     

    Best

     

    See the Pen pZXVWw by romainmalauzat (@romainmalauzat) on CodePen

  5. Hi Thanks, it seem I didn't explained myself clearly.  I corrected the pen to make it more clear, and in plain js. 

    What I want is the knob to rotate continuously, that's easy. 

    Then I want to make the knob draggable, easy too.  

    Finally I want that when we release the knob, it resume the rotation, from where we left the knob. Not easy :)

    Thanks ! 

     

  6. Hi, 

     

    I would like to make a knob that rotate and that can be draggable, and when released, start the rotation again from where it was left at the release moment. 

    I tried many thing, but can't seem to find the right way to do it. 

    Thanks for the help !

     

    See the Pen ajzBym by romainmalauzat (@romainmalauzat) on CodePen

  7. ok, made it work like that.

    function test(){
      console.log('done');
    }
    
    
    var animContPress =  TweenMax.to($("#contpress"), 1, {left:'0',ease:Power2.easeInOut,paused:true});
    
    
    animContPress.eventCallback("onComplete", test);
    
    animContPress.play();
            

    Witch i find weird because it doesn't make any difference if suppressEvents is set on false or not.

  8. I'm I doing something wrong here ?

    If paused is true, the callback fire, but not if I use paused and play. 

    At first I didn't set second play parameter to false, but even with .play(0.5,false) callback doesn't fire. 

    Thanks for help. 

     




    function test(){
      console.log('done');
    }


    var animContPress =  TweenMax.to($("#contpress"), 1, {left:'0',ease:Power2.easeInOut,onComplete:test,paused:true, suppressEvents:false});


    animContPress.play(0.5,false);

×
×
  • Create New...