这是一款基础jQuery的手机号抽奖插件,可以指定抽奖结果,也可以随机抽取号码,非常简单,实用!
1.引入基础的css样式文件
1 | < link rel = "stylesheet" href = "index.css" /> |
2.引入jq和easing.js
1 2 | < script type = "text/javascript" src = "js/jquery-1.7.2-min.js" ></ script > < script type = "text/javascript" src = "js/easing.js" ></ script > |
3.按照固定的格式进行排版:
1 2 3 4 5 6 7 8 9 10 11 12 13 | < div class = "num_box" > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > < div class = "num" ></ div > </ div > |
进行相应的jq设置即可!
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com