Use JS to achieve a few seconds after the countdown to jump, this in some special circumstances or more practical, the following for you to introduce the specific implementation steps, interested friends do not miss
Code as follows: <html> <head> <title> error ~~~</title> <link href= "css/ Login1.css "mce_href=" Css/login1.css "rel=" stylesheet type= "Text/css"/> <script "JavaScript" Type= "Text/javascript" > var i = 5; var intervalid; intervalid = SetInterval ("Fun ()", 1000); Fu Nction Fun () { if (i = = 0) { window.location.href = ". /index.html "; clearinterval (intervalid); } -document.getElementById (" Mes "). InnerHTML = i; i-- ; } </script> </head> <body> <div id= "errorfrm" > <h3 > Error ~~~</h3> <div id= "error" > <img src= "images/error.gif" mce_src= "Images/error.gif" alt= ""/> <p> system error, please contact admin! </p> <p> will return home after <span id= "Mes" >5</span> seconds! </p> </div> </div> </body> </html>