現在TweenMaxを使ってアニメーションをしようと思っているのですが、
幾分javascriptを触るのが初めてで何故動かないのかわからないです。
HTML
1<html> 2<head> 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4 <link rel="stylesheet" media="all" href="animationtest.css"/> 5</head> 6<body> 7 <div id="box"></div> 8 <script src="jquery-1.8.1.min.js"></script> 9 <script src="TweenMax.min.js"> 10 TweenMax.to('#box', 2, {top:'700px'}); 11 </script> 12</body> 13</html> 14
CSS
1* { 2 margin: 0; 3 padding: 0; 4} 5#box{ 6 position: relative; 7 width:300px; 8 height:100px; 9 border: solid 8px #000; 10}
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。