1
我试图使用TweenLite为一些元素设置动画,但它不起作用! console.log命令有效,没有错误发生,但没有任何反应。TweenLite动画无法正常工作
这是脚本:
<script type="application/javascript">
window.onload = function(){
var back = document.getElementById("back");
var table = document.getElementById("table");
console.log(table);
//TweenLite.to(table,4,{top:"4500px" , height:"0px"});
TweenLite.to(table,4,{top:"4500"});
TweenLite.to(back, 1.5, {width:100});
};
</script>