470,833 Members | 1,350 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

How to set the scroll position inside a frame

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
Jul 17 '05 #1
1 3500
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.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mudcat | last post: by
4 posts views Thread by Emmanuel | last post: by
2 posts views Thread by Merlin | last post: by
1 post views Thread by bulldog8 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.