Jump to content
Search Community

SC_74

Members
  • Posts

    3
  • Joined

  • Last visited

SC_74's Achievements

1

Reputation

  1. SC_74

    My first Tween

    Okay thank you!
  2. SC_74

    My first Tween

    Like that? var tl = new TimelineMax(); tl.add( TweenLite.to(middle_overlay, 2, {delay: 1, display: 'block', width: 0, repeat: 2, yoyo: true})); tl.add( TweenLite.to([top_overlay, bottom_overlay], 1, {autoAlpha: 1, height: 0, ease: Power4.easeInOut})); tl.add( TweenLite.to([h1, p], 1, {autoAlpha: 1, x: '0%', ease: Power3.easeInOut})); $('.button1').click(function(event) { tl.from([top_overlay, bottom_overlay], 1, {autoAlpha: 1, height: 0, ease: Power4.easeInOut}); tl.play(); }); Doesn't work!
  3. SC_74

    My first Tween

    Hello All! Posting my first post here. :-) 3 simple questions : - How to keep visible top_overlay and bottom_overlay during the « loader » animation? - How to do this tween in reverse mode? - Is there a easier way to write or make this kind of script/transition? Thanks so much for any help! :-)
×
×
  • Create New...