引用jQuery和Luckdraw.js
1 2 | < script src = "js/Luckdraw.js" type = "text/javascript" ></ script > |
设置抽奖数据
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | var xinm = new Array(); xinm[0] = "img/1.png" xinm[1] = "img/2.png" xinm[2] = "img/3.png" xinm[3] = "img/4.png" xinm[4] = "img/5.png" xinm[5] = "img/6.png" xinm[6] = "img/7.png" var phone = new Array(); phone[0] = "王尼玛" phone[1] = "张全蛋" phone[2] = "纸巾老撕" phone[3] = "王铁柱" phone[4] = "田二妞" phone[5] = "唐马儒" phone[6] = "张三" |
Luckdraw.js中Lotterynumber为当前一次抽奖几个人
1 | var Lotterynumber = 5; //设置单次抽奖人数 |
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com