标签:
html:
<img src="img/tutu.png"/>
<div>
<span>跳过 5s</span>
</div>
jquery:
$(function(){
$(‘img‘).css(‘height‘,$(window).height());
var text = 5;
var DSQ = setInterval(function(){
text --;
$(‘div span‘).text(‘跳过 ‘+text+‘s‘);
if(text == 0){
clearInterval(DSQ);
//跳转
Jockey.send();//dadkja
}
},1000)
})
标签:
原文地址:http://www.cnblogs.com/mo-cha/p/5893743.html