I'm trying to create a tween. I was looking at the tutorials here :
http://forums.greensock.com/topic/6095-example-html-banner-using-greensock-js-beta/
And they all involve TweenLite, TimeLineLite, CSSPlugins, and EasePack.
Is it possible to create Tweens with just TweenLite?
Here is the code I wrote and it doesn't work.
<style type="text/css">
#content {
background-color:#FFFFFF;
width:300px;
height:30px;
padding:3px;
border-style:solid;
border-width:medium;
}
</style>
<script type="text/javascript" src="http://img-cdn.mediaplex.com/0/20225/150045/TweenLite.min.js"></script>
<div id="content">My Account</div>
<script type="text/javascript">
var content1 = document.getElementById("content");
TweenLite.to(content1, 1.5, {width:200, height:200});
</script>
</div>
Thank You