Click to See Complete Forum and Search --> : using Redirect to go to bottom of page


tomsrig
03-21-2006, 09:33 PM
Hi,
This may have been posted before but I can not find it.

When I currently use the following meta code :
<META HTTP-EQUIV="refresh" content="0">
it works fine and it stays on the current page, since no other reference is given after the 0 refresh. However, when the page is refreshed each time it always brings you to the top of the page. I want it to always go to the bottom of the page, or to a bookmark like <a name="bottom">

In this way, if I am working with a large database on the page, it will always take me to the most recent entry.

How can I do this in FrontPage 2003, or just plain HTML code? Or , do you have any other nifty suggestions?

THanks,
Tom

KDLA
03-22-2006, 07:31 AM
You might try putting a redirect address (with bookmark) in the coding.

<META HTTP-EQUIV="refresh" content="0" url="page.htm#bottom">

Just a suggestion -- why don't you order your database to display the most recent entries at the top (descending order)?

KDLA

ray326
03-22-2006, 01:35 PM
I think you might even be able to use "#bottom".

tomsrig
03-22-2006, 03:15 PM
Thanks for the replies.

To keep you up to date, I did try the #bottom tag, and it will bring the page to the bottom ( since I use Frontpage 2003 I can put a "bookmark" under the submit button for the database) since it sees my bookmark labled "bottom".

However, the; <meta http-equiv="refresh" content="2"> part will no longer refresh the page once it goes to the bottom.

Whatever it's doing the #bottom in the ; URL=mypage.htm#bottom prevents the refresh from happening. Go figure.

I will attempt to make the database go from first to last as was mentioned. At least when it refreshes without the #bottom tag this might work ok for now. But I'd still like to know why the Refresh is shortcircuited.

Tom