Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

leander

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by leander

  1. leander

    String to ...

    Perfect. Thx a Lot
  2. leander

    String to ...

    Hello, I´m new to Gsap so sorry for the Nub Question. This works: var acco1 = document.getElementById("mc_acco1"); dynTween(acco1); function dynTween(element) { TweenLite.fromTo(element, 0.5, {opacity:0.5},{opacity:1.0, ease:Sine.easeInOut, onComplete:callTab}); } This Not: btnId = 1; var mc_new = "acco"+ btnId; dynTween(mc_new); function dynTween(element) { TweenLite.fromTo(element, 0.5, {opacity:0.5}, {opacity:1.0, ease:Sine.easeInOut, onComplete:callTab}); } But Why!? And how do I get to work!? Thx for your help
  3. This is what I needed. Thx alot.
  4. Hello, I´m new to gsap. And I do not know any solution. Here is my Code: var mc_new = "acco" + btnId; TweenLite.fromTo(mc_new, 0.5, {opacity:0.5}, {opacity:1.0, ease:Sine.easeInOut, onComplete:callTab}); How do I make this Tween ›Dynamic‹. Thx for your Help
×