View Full Version : Auto Jump down a Page


martin51
08-22-2003, 08:13 AM
I want my home page to show one image, then after "x" seconds to automatically take the viewer to more content.

I have tried a redirect to a second page with the new content, but we are left with a blank screen while the second page loads.

What would be ideal would be to have the new content in the home page labelled with an anchor. Then I need an automatic [timed] jump to the anchor. Can anyone help please?

Martin

Chris
08-22-2003, 09:38 AM
Simply put the following code in between the <head> and </head> tags:

<meta http-equiv="refresh" content="No. OF SECONDS TO WAIT BEOFR REFRESHING ; url=#THE NAME OF THE ANCHOR ">


Then put the following in between the <body> and </body> tags.
<p>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<a name="=#THE NAME OF THE ANCHOR AGAIN">Text Goes Here</a>
</p>
</body>
</html>

pb&j
08-22-2003, 04:31 PM
Originally posted by chrisdb89
<a name="=#THE NAME OF THE ANCHOR AGAIN">Text Goes Here</a>
take out the extra =# there so it reads as...
<a name="THE NAME OF THE ANCHOR">Text Goes Here</a>

martin51
08-23-2003, 03:57 AM
Thanks for that! I was almost there - had missed out the final </a>

Now it works just fine for the initial jump, but it keeps re-cycling.

I have
<meta http-equiv="refresh" content="15; url=#jump"> in the head,

and in the body,

<p>
<br>
...
<br>
<a name="jump">

text

</font></a></p>

and I get a refresh every 15 seconds???

Chris
08-24-2003, 10:29 AM
Dunno. Try do a search here (http://www.lissaexplains.com/forum//search.php?s=)