标签:
<html>
<head>
<title>bomb</title>
<script language="JavaScript">
var intLeft = 15;
function leavePage() {
if (0 == intLeft)
alert(‘嘻!!!哈哈!开个玩笑!Jojoo‘)
else {
intLeft -= 1;
document.all.countdown.innerText = intLeft + " ";
setTimeout("leavePage()", 1000);
}
}
</script>
</head>
<body bgcolor=yellow leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="setTimeout(‘leavePage()‘, 1000)">
<table width="340" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="70"> </td>
<td width="258"> </td>
</tr>
<tr valign="middle" align="center"
>
<td colspan="2" height="138" class="9P">
<p>大家快跑!!要爆炸了!!还有<span id="countdown"> <!-- Output initial amount of time. -->
<script language="JavaScript">
document.write(intLeft);
</script>
</span> 秒就要爆炸了!!快!!</p>
</td>
</tr>
</table>
<div>http://www.balijieji.com</div>
</body>
</html>
标签:
原文地址:http://www.cnblogs.com/zhaoguangxing/p/4445212.html