jQuery实现圆盘活动抽奖程序效果
2020-11-15 07:37
标签:http class div code java javascript tar ext string art c jQuery实现圆盘活动抽奖程序效果,搜素材,soscw.com jQuery实现圆盘活动抽奖程序效果 标签:http class div code java javascript tar ext string art c 原文地址:http://www.cnblogs.com/lunbawu/p/3697320.html src="jquery-1.7.2.min.js">
src="jQueryRotate.2.2.js">
src="jquery.easing.min.js">
>
$(function(){
$("#startbtn").rotate({
bind:{
click:function(){
var a =
Math.floor(Math.random() * 360);
$(this).rotate({
duration:3000,
angle: 0,
animateTo:1440+a,
easing: $.easing.easeOutSine,
callback: function(){
alert(‘中奖了!‘+a);
}
});
}
}
});
});