I'm just getting my feet wet with GreenSock and already I can't get my animations right. I can't tell whether it's a syntax error or if my html editor previews are set to show them correctly? I'm using Dreamweaver CS6 and Coda2 and neither appears to be showing any animation. So I have to believe that the issue is is my code. Here is what I've got so far in terms of Javascript:
<script type="text/javascript" src="TweenMax.min.js"></script>
<script type="text/javascript">
(function(){
var tl1 = new TimeLineMax();
tl1.from('#myAd_txt2', 1.3, { top: -100, ease: Power2.easeOut });
}());
</script>
All I'm trying to do is move a txt object down and having it ease to a stop. I'm following this tutorial and I've double and triple checked and I can't figure what I did wrong here. Any tips would be greatly appreciated. I've also attached the entire HTML file if that helps any.
Thank you in advance for your time and help.
banner_ad.html