NoodleHed
01-14-2003, 11:01 PM
Jello all,
I've been putting together a web based reservations app using ASP and VBscript for the server side. I’ve got an annoying problem that hopefully an ace will have a solution for.
Once an administrator logs into the utility, they are presented with a basic list that of active reservations. Clicking on the list items display details in a separate layer.. yadayadayada.. What’s annoying is this.. I have the page set to auto-refresh once a minute so that it can tap SQL Server to check for new data updates. So if you happen to be scrolling down a painfully long list of trips at the time the page refreshes your position in the list gets reset back up to the top of the page. :( Is there anyway to prevent this? Keep a scrolled page/layer/list/etc.. in its current position without relying on the browsers cache? Or to set some sort of focus feature that will initially present an item that is NOT necessarily the first in the list? Perhaps something similar to the way an ordered list works when using a basic <form> and the "Initially Selected" argument?
Useful comments and suggestions much appreciated!! Rewards include public praise and possibly worship :) .
Thanks in advance,
-NH
I've been putting together a web based reservations app using ASP and VBscript for the server side. I’ve got an annoying problem that hopefully an ace will have a solution for.
Once an administrator logs into the utility, they are presented with a basic list that of active reservations. Clicking on the list items display details in a separate layer.. yadayadayada.. What’s annoying is this.. I have the page set to auto-refresh once a minute so that it can tap SQL Server to check for new data updates. So if you happen to be scrolling down a painfully long list of trips at the time the page refreshes your position in the list gets reset back up to the top of the page. :( Is there anyway to prevent this? Keep a scrolled page/layer/list/etc.. in its current position without relying on the browsers cache? Or to set some sort of focus feature that will initially present an item that is NOT necessarily the first in the list? Perhaps something similar to the way an ordered list works when using a basic <form> and the "Initially Selected" argument?
Useful comments and suggestions much appreciated!! Rewards include public praise and possibly worship :) .
Thanks in advance,
-NH