某广告倒计时跳转
<html>
<head>
<title>MK51.1-e975-160215-RELEASE.zip</title>
<script>
</script>
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/bootstrap-responsive.min.css">
</head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
<center>
<script async src="//adsbygoogle.js"></script>
<!-- 下载跳转广告-顶部 -->
<ins class="adsbygoogle"
style="display:inline-block;width:970px;height:90px"
data-ad-client="ca-pub-1229799408537"
data-ad-slot="9902974"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
<br/><br/>
<script language=javascript>
var wait = 8;
var secs = 0;
for(var i = 1; i <= wait; i++) {
setTimeout("sTimer("+i+")", i*1000);
}
function sTimer(num) {
if (num != wait) {
secs = wait - num;
document.getElementById("Timer").innerHTML=secs;
} else {
document.getElementById("Wait").style.display="none";
document.getElementById("Download").style.display="";
}
}
//setTimeout("window.location.href='http://rom.mk/xih4sl'",8000);
</script>
<center><h2 id="Wait">Please Wait <span id="Timer">8</span> seconds.</h2><a class="btn btn-lg btn-success" href="http://rom.mk/xih4sl" role="button" id="Download" style="display:none;">Download now</a></center><br/><br/>
<center>
<script async src="//adsbygoogle.js"></script>
<!-- 下载跳转广告-中部 -->
<ins class="adsbygoogle"
style="display:inline-block;width:970px;height:90px"
data-ad-client="ca-pub-1229799408517"
data-ad-slot="82866490"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
<center>
<script async src="//.js"></script>
<!-- 下载跳转广告-底部 -->
<ins class="adsbygoogle"
style="display:inline-block;width:970px;height:90px"
data-ad-client="ca-pub-122979940817"
data-ad-slot="68099196"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
</body>
</html>
标签:实例