Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML page refresh problem

Status
Not open for further replies.

n2ckb

Programmer
Jun 8, 2001
65
GB
Hi all,

I have created a chat room where the 'chat' is stored in a database and is periodically updated when checking for new messages. (every 10 seconds).

The problem occurs when the user is reading a long list of messages, and the browser has to reload the messages from the database due to a page refresh.
I have added the code to return to the point where the user was reading, but I cannot avoid the scrollbars jumping to the top due to a delay in the creation of the message data, which makes the reading of the messages impossible.

Does anyone know how to 'freeze' the screen until the page has reloaded to the scroll position that I have set.

Your help would be greatly appreciated!

N

 
I do not have an answer to your question but I did an app similiar to this awhile back and ended up creating a small frame at the bottom to do the refreshing and only update the top frame when new information was present.

Just a suggestion.

The only dumb questions are the ones that are never asked
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top