[問題] 新手發問 關於jquery rotate
個人為程式外行人..外掛都是用套的
今天遇到問題想請教板上高手
最近在練習套用一下jquery想讓個人網頁看起來更有質感一點
在網路上發現這隻
http://code.google.com/p/jqueryrotate/wiki/Examples
我嘗試了把example都自己run過一次
發現ex1 2 4 5區的都沒問題
但是example 3區的我都試不出來
特別是3區的第一個endless rotate是我特別想用的效果
但他完全不理我...
我做的流程是
<head>
<script type="text/javascript"
src="" rel="nofollow">http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js">
</script>
<script>
var angle = 0;
$(function)(){
setInterval(function(){
angle+=3;
$("#img").rotate(angle);
},50);
});
</script>
</head>
然後在body部分放一張圖片id取名img
結果失敗 冏
請高手指點這個效果該如何正常work
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.240.182.103
→
10/28 15:21, , 1F
10/28 15:21, 1F
→
10/28 21:46, , 2F
10/28 21:46, 2F
→
10/28 21:47, , 3F
10/28 21:47, 3F
→
10/28 21:47, , 4F
10/28 21:47, 4F
→
10/28 23:19, , 5F
10/28 23:19, 5F