How to set the scroll position inside a frame

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Boniface Frederic

    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


  • Michael Austin

    #2
    Re: How to set the scroll position inside a frame

    Boniface Frederic wrote:
    [color=blue]
    > 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
    >
    >[/color]

    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.

    Comment

    Working...