473,402 Members | 2,053 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,402 software developers and data experts.

Automatic page refresh

hi all,
I have a html page with 3 frames running horizontally. one is the top
small toolbar, the main middle bar and finally the bottom small status
bar again.
now i am trying to find a way of refreshing the bottom toolbar every
say 1-2 seconds, without causing the page to flicker. i am also trying
to do a cache refresh everytime and not just a normal refresh.
if any ideas or suggestions they are all welcome.
cheers.

Nov 9 '05 #1
5 5982
i forgot to add, i am trying to implement this solution using
javascript and perhaps css and the usual html. i have got it to work
for the time being but its not doing a cache refresh and hence it
doesnt actually refresh the content in the bottom toolbar which i am
trying to aim for. thanks.

Nov 9 '05 #2
sc*****@gmail.com wrote:
I have a html page with 3 frames running horizontally. one is the top
small toolbar, the main middle bar and finally the bottom small status
bar again.
So there is probably no need for frames; use CSS instead.
now i am trying to find a way of refreshing the bottom toolbar every
say 1-2 seconds, without causing the page to flicker.
Seems to be a problem perfectly suited for
<http://en.wikipedia.org/wiki/AJAX>.
i am also trying to do a cache refresh everytime and not just a normal
refresh.


Provided you mean "retrieve resource from the original source instead
of the local cache" by "cache refresh", use location.reload(true).
PointedEars
Nov 9 '05 #3
i am using frames as i need to divide the page into three different
sections. i need to do a cache refresh every 2-3 seconds on the bottom
toolbar. will try location.reload(true) and see if it works or not. in
the meantime any other suggestions are welcome.

Nov 10 '05 #4
Try this...

Create an extra frame that has zero size (so it's hidden) and cause it to refresh and when it does it retrieves the information you
need and then updates the displayed frames via Javascript. No flickering, just clean updates. I do this on a number of my websites
that are control panels to keep the information updated without the annoying flickering of page updates. If the browser is IE you
will still hear the little "click" as the hidden frame reloads, but hey... still no flashing.

Dennis

sc*****@gmail.com wrote:
i am using frames as i need to divide the page into three different
sections. i need to do a cache refresh every 2-3 seconds on the bottom
toolbar. will try location.reload(true) and see if it works or not. in
the meantime any other suggestions are welcome.

Nov 10 '05 #5
you are right. that is a neat trick and it seems to work. however the
only prob is that the entire page is refreshging correctly except the
frame i want :-). i am going to keep on trying till i get it to work.
cheers.

Nov 10 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matthew Ferri | last post by:
I'm using Windows 2000 Pro SP4 and Office 2000 Pro Sp3. I have some dynamic database pages that I do not want a user to see from their local cache of pervious visits to this page. When these...
1
by: ppatel | last post by:
Problem I have a problem with web image button control click event. The click event does not get trigger until it has not been clicked once or page refresh occures(which is fine). When click...
9
by: PK9 | last post by:
I'm having an issue with the "Refresh" of an asp.net page. The refresh is actually calling my last onClick event. I thought that asp.net was supposed to be stateless in that it shouldn't...
10
by: Fred Nelson | last post by:
Hi: I have a VB.NET web application and I need to find a way to cause a page refresh from within my application. Does anyone know how to force the browser to refresh the current page? ...
2
by: adam | last post by:
Hi ASP Expert, I encounter a page reload situation in ASP. It is I need a way to differentiate whether the current page - "Application_Result.asp" got reloaded itself when user click on the...
1
by: Ibrahim. | last post by:
Hi, I have a login page, the problem I'm facing is like this; 1. Login page with submit button (being default button); 2. When first time the page is submitted then submit code is called. ...
2
by: philbo30 | last post by:
I have data processing that takes place via an application written in C. I also have a .php webpage that displays a chart of the results via the Netscape 4.79 browser. Currently, manual...
11
by: gotonagle | last post by:
hi, can some help me in this regard i m entering some values in my databse from my asp page. for this i m using a submit button which submit the form to a new page that is 'insert.asp'. this page...
4
kelleyvanevert
by: kelleyvanevert | last post by:
Hello everyone, This question is often asked, and I know there are lots and lots of answers that I could be using, but I just want a clear good answer. I am making a website (for playing a game...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.