<!DOCTYPE html>
<html>
<head>
<title>tween-test</title>
<meta charset="utf-8" content="text/html">
<script src="js/video.js" type="text/javascript"></script>
<script src="js/TweenMax.js" type="text/javascript"></script>
<script src="js/jquery.gsap.js" type="text/javascript"></script>
<script src="js/CSSPlugin.js" type="text/javascript"></script>
</head>
<body>
<style type="text/css">
body
{
background-image:url('images/bg_main.jpg');
}
</style>
<p>
<span id="test-1">C</span> <span id="test-2">O</span> <span id="test-3">T</span> <span id="test-4">Y</span>
</p>
<script type="text/javascript">
$(function(){
var testing;
testing = $("#test-1");
TweenMax.from(testing, 4,{css:{
top:"-300px"
}});
});
</script>
</body>
</html>
I am VERY new, so it is probably something really basic, but I can not figure it out for the life of me. Thanks in advance.