By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,831 Members | 2,237 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,831 IT Pros & Developers. It's quick & easy.

How to set the scroll position inside a frame

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.