不知道下面这个可以帮到你不???
[CODE]
<html>
<script language="javascript">
i=11;
function time(){
//rainic制作
i--;
if(i>0)
{
text=i;
}
else if(i==0)
{
text="你成功啦!";
}
else
{
location="success.asp";
}
if(document.layers)
{
document.layers.liveclock.document.write(text);
document.layers.liveclock.document.close();
}
else if(document.all)
liveclock.innerHTML=text;
timeoutID=setTimeout("time()",1000);
}
</script>
<body>
<span id="liveclock"><script language="javascript">time()</script></span>
</body>
</html>
[/CODE]