0

The timer is supposed to forward after 10,000 milliseconds, and right now it's forwarding after about 5,000. The whole purpose of this is to forward people to the forum from the splash page.

Here is the code.

<meta charset="UTF-8">
<meta http-equiv="refresh" content="3;url=forumlink.php">
<script language="javascript">
function.delayer(){
    window.location.href = "url.html"
    /* ... */
}

<body onLoad="setTimeout('delayer()', 10000)">
/* CSS and HTML */
</body>
4

2 回答 2

2
<meta http-equiv="refresh" content="3;url=forumlink.php">

will forward you to forumlink.php after 3 seconds, so you will leave the page before your JavaScript timeout will occur.

于 2013-10-13T01:52:29.807 回答
1

Buddy the error is in the meta refresh. You have yo use One or the other.

Remove this

       <meta http-equiv="refresh" content="3;url=forumlink.php">
于 2013-10-13T01:53:13.857 回答