Use JS to achieve the automatic jump function on the Web page, countdown to the designated Web page, countdown can be set, time to automatically jump to the designated URL, for JS, the implementation seems quite simple oh, with IIS on the 301 can also achieve jump, as well as mete tags can also achieve automatic jump, according to your own needs.
<TITLE>JS Countdown page Auto Jump code </title>
<script language= "JavaScript" type= "Text/javascript" >
function Delayurl (URL) {
var delay = document.getElementById ("Time"). InnerHTML;
if (Delay > 0) {
delay--;
document.getElementById ("Time"). InnerHTML = delay;
} else {
window.top.location.href = URL;
}
t = settimeout ("delayurl (' + URL + ')", 1000);
}
function Stop1 () {
T && cleartimeout (t);
}
</script>
<span id= "Time" style= "background: #00BFFF" >1000</span> seconds after automatic jump, if not jump, please click on the link below <a href= "http://www.baidu.com" > My Baidu </a>
<input type= "button" value= "Stop Jump" onclick= "stop1 ();" >
<script type= "Text/javascript" >
delayurl ("http://www.baidu.com");
</script>
The above content is small make up for everyone to share based on JavaScript to achieve the countdown automatically jump code, I hope you like.