473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 3692
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: STB | last post by:
Hi To all the forum!!! I have a question... How i can do to know a top position of a frame in frameset... independently from the resolution of Video mode??? I go to explain better... i have a...
1
by: Mudcat | last post by:
Hi all, I am writing a gui that expands depending on the number of interefaces a user decides to use with Win 2k, Tkinter, and Pmw. So with normal use the gui window will expand to the screen...
3
by: Ben | last post by:
Hi, I have a page with a datagrid that you have to scroll to see. I'm using the StrengthControls SmartScroller as recommended to maintain my scroll position. Anyway, inside the datagrid I have...
4
by: Emmanuel | last post by:
Hi, I have placed a DataList control inside a panel control to obtain a scrollable list using the overflow:auto attribute. The rows in the data list contains and edit LinkButton to enable...
2
by: Merlin | last post by:
Hi there, I do have a complex problem and wonder if this is possible to solve. Following situation. I do have a page, where you do have a frame inside that page. That frame holds different...
1
by: bulldog8 | last post by:
I am working on a picture preview page ... some questions and suggestions have been incorporated already, but the 'user' (i.e. wife!) would like it to be more user friendly (if it isn't one thing,...
1
by: wmbrae | last post by:
I trying to make a javascript document reader in 2 frames. The left frame displays the document, the right frame shows a list of document links. This is as far as I got ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.