473,657 Members | 2,667 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3700
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
3216
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 frameset with 3 frames... like this... _______________________________ --> A | | |frame Top | _______________________________ --> B
1
1721
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 size and then clip without scrolling. If I use Pmw.ScrolledFrame, the clipping frame is set based on the size of the first child frame and never expands to fill the screen. It just expands the size of the inside frame inside the clipping frame.
3
2996
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 fields that require validation. No problem, I put the validators on them and they work just fine... Except for the fact that when a user has an invalid entry and fires a validation event client side the scroll position is reset to the top of the...
4
1869
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 editing of the selected row via postback. My problem is that if i click on the edit button of a row which is not immidiately visible in the scrollable list than i have to scroll down to find the row to be edited. Is there a way to resume the scroll...
2
4324
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 links to pages inside the mother page. The purpose is to show changes since last login. If you click on one link inside it takes you to the changes. If there are a lot of changes you might need to use the internal vertical scroll bar inside the...
1
3559
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, its another!!) The page is basic - a generic, blank page with navigation a picture presentation area, and a frame showing different thumbnails. Problem: Once the user has scrolled down the frame and selected a picture, the frame resets to...
1
3095
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 http://www.geocities.com/viewdoq/opening.htm (there are Firefox and Ie, and Ie version incompatiblities and clean-up which I will work on later) Does anybody have one ready made? I'd like to load the document and move the scroll position to where it was last viewed.
0
8315
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7341
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6172
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.