Jump to content
Search Community

hafsa

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by hafsa

  1. Thanks a lot for the quick reply ! what this code line means ? If reversed is diffrent then play  then you revert ?

     

    tl.reversed() ? tl.play() : tl.pause(0).reversed(true);

     

    Sorry for my bad English 

  2.  Jonathan I have one last question !! why did you add "myG" at the end of TweenMax ?? the elementItem already contain the id "myG" ?

     

    TweenMax.to(elementItem, 1.3, {

        delay: elementAnimationDelay, //amount of delay in secons

        y: "-=40px",

        ease: Power2.easeOut,

        repeat:-1,

        yoyo:true,

        onCompleteParams:[elementItem],

        onComplete: elementMoveUp

      },"myG");

×
×
  • Create New...