This is a discussion on How to set the scroll position inside a frame within the PHP Language forums, part of the PHP Programming Forums category; Hello, I have frame displaying the last posted messages. I set <meta http-equiv="refresh" content="...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I have frame displaying the last posted messages. I set <meta http-equiv="refresh" content="5"/> to automatically refresh the frame every 5s My problem is; if I scroll the frame to see messages up or down, after the refresh, the scroll position is reseted to the top of the frame and my scroll position is lost. I would like to know if there is a function to set the scroll position or if I should use another solution to refresh my frame. I appreciate any help or suggestion. Thank you. Fred |
|
|||
|
Boniface Frederic wrote:
> Hello, > > I have frame displaying the last posted messages. > I set <meta http-equiv="refresh" content="5"/> to automatically refresh the > frame every 5s > > My problem is; if I scroll the frame to see messages up or down, after the > refresh, the scroll position is reseted to the top of the frame and my > scroll position is lost. > > I would like to know if there is a function to set the scroll position or if > I should use another solution to refresh my frame. > > I appreciate any help or suggestion. Thank you. > > Fred > > I have used one of those types of "auto-refresh every n seconds" and it is really a pain to try and read the information in the page... making it almost unusable. This would be more of an HTML question not a PHP question. a quick google search for refrsh scroll position will yield the answer to your question... possibly.. like: << http://gensystem.europe.webmatrixhos...icles/156.aspx >> Michael Austin. |