私は完全なばかのように感じます。このスクリプトを機能させるのに約 4 時間を費やしました。
<script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script>
<a href=""><img src="http://cdn1.iconfinder.com/data/icons/humano2/16x16/emblems/emblem-cd.png" id="image"><span id="spin">Spin</span></a>
$("#spin").rotate({
bind: {
mouseover: function () {
$("#image").rotate({
animateTo: 180
})
},
mouseout: function () {
$("#image").rotate({
animateTo: 0
})
}
}
});
http://jsfiddle.net/8LV3p/3673/
私の人生では、自分のウェブサイトでそれを使用する方法がわかりません。やり方を調べてみたのですが、JavaScriptもJQueryも知らないので何を探せばいいのかわかりません。助けてください!