Jump to content
GreenSock

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

Mcsnidely

Members
  • Posts

    1
  • Joined

  • Last visited

Mcsnidely's Achievements

0

Reputation

  1. Mcsnidely

    className:"+="

    Hello, I'm using the following code to animate a div coming in and to add a class to a second div. Working perfectly on the mac and ios but on windows there are some issues. ie8 animation working but the classname is not being added (haven't tried newer versions). firefox nothing is working. here is my code: $(document).ready(function() { var tl = new TimelineMax(); tl.append( TweenLite.to(awardOne, .125, {css:{className:"+=awardOneOn"}}) ); tl.append( TweenLite.to(awardOneContent, .125, {css:{autoAlpha:1}}) ); tl.append( TweenLite.to(awardOneContent, .5, {css:{height:159,top:480}}) ); tl.pause(); awardOne.onclick = function() { tl.play(); }; closeIcon.onclick = function() { tl.reverse(); }; }); Thank you -Dennis
×