H5手机翻牌抽奖领红包代码是一款h5移动端九宫格的翻牌抽奖代码。var clickstate = 0; var turn = function (target, time, opts) { target.find('a').click(function () { if (clickstate == 1) { return; } var current = $(this); $(this).find('.img').stop().animate(opts[0], time, function () { $(this).hide().next().show(); $(this).next().animate(opts[1], time); setTimeout(function () { $('#' + current[0].id).siblings('a').find('.info').addClass('shelter'); $('#' + current[0].id).siblings('a').find('.img').stop().animate(opts[0], time, function () { $(this).hide().next().show(); $(this).next().animate(opts[1], time); }); }, 1000); clickstate = 1; setTimeout(function () { if ($('#hb').html() != "10") { $('#iosDialog1').show(); } else { $('#iosDialog2').show(); } }, 3000); }); }); } var verticalOpts = [{ 'width': 0 }, { 'width': '90%' }]; turn($('#draw'), 400, verticalOpts); function ClosePage() { $('#iosDialog1').hide(); } function Refresh() { $('#iosDialog1').hide(); } function TurnMyCenter() { $('#iosDialog1').hide(); }
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)