Re: When resubmitting a long page, how do you preserve the vertical position on the page?
From: Steven Scaife (sp_at_nospam.com)
Date: 09/09/04
- Next message: Steven Scaife: "Re: I upsized but these SQL statements are causing errors..."
- Previous message: Aaron [SQL Server MVP]: "Re: When to close db objects in a Web Application"
- In reply to: Mike: "When resubmitting a long page, how do you preserve the vertical position on the page?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 17:46:07 +0100
use a html anchor tag think they are called bookmarks or something like that
try finding more info on google.
for example place <a name="mid"></a> in your page and reference that with
page.asp#mid in your code ie. response.redirect "page.asp#mid" and thats
where it will put you
you will need to put the a name where you want the user to return to on your
page
that should work but its untested by me
:)
"Mike" <mike_newsgroups@yahoo.com> wrote in message
news:6a68ace3.0409032301.28d4cc2d@posting.google.com...
> Hello,
>
> I've got a long page that resubmits itself to pass variable settings
> like this:
>
> http://localhost/hwlist2.asp?user=Kithmaker&user2=&sortby=cNumber
>
> the problem is that when the page reloads the user starts at the top
> again. Is there any way of preserving the vertical position the user
> is viewing on the page?
>
> Thanks,
> Mike
- Next message: Steven Scaife: "Re: I upsized but these SQL statements are causing errors..."
- Previous message: Aaron [SQL Server MVP]: "Re: When to close db objects in a Web Application"
- In reply to: Mike: "When resubmitting a long page, how do you preserve the vertical position on the page?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|