我想知道是否有人可以幫助我製作一個懸停的圖像,實際上通過足夠的幀來模擬360度轉動。我有從3d軟件渲染的幀。它實際上是一個圖標,我想旋轉mouseover &在mouseout上只回滾使用jquery。我可以將其優化爲90張圖像。 90x90感謝動畫jquery圖像條
// Ive tried this but im just not sure where or how to call the images :
$('[class$=Button]').mouseover(function() {
var arr = $(this).attr('class').split("Button");
$('div.'+arr[0]+'Content').stop(true, true).animate('');
});
$('[class$=Button]').mouseout(function() {
var arr = $(this).attr('class').split("Button");
$('div.'+arr[0]+'Content').stop(true, true).animate('');
});
謝謝你生病使用這個! – 2012-01-27 19:43:52