Jump to content

[SOLVED] Load multiple pages


laconica

Recommended Posts

But sure to put the code at the bottom of the page so it loads all the content before strating the countdown (or maybe JavaScript client-side only starts when the page is fully loaded....?).

 

Dynamically write the JS function depending on the referal page maybe? Should be ok to do that.

Thanks for your input guys

 

Had to solve it with java script in the end as you cannot use header() after you have put something on the page

 

Just used this with <?php and echo

 

<html>

<head>

 

<script language="Javascript">

function forward(){

  location.href="http://thurrock.rugby-club.info/scroll2.html";

}

</script>

</head>

<body onload=setTimeout('forward()',10000)>

 

<p>This is the first page</p>

 

</body>

</html>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.