473,796 Members | 2,578 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6009
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.c om 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.or g/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.c om 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
2473
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 individual pages are called, I would always want them refreshed from the server. This is no matter what setting is used by the local browser. The closest KB article I found was Q200131, but that was not helpful to me.
1
3369
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 event fires first time it executes code associate with click event(As I expected). the problem is when you refresh page it fires a click event automatically. I looked around many posts and did not find any topics about this problem. Infact the same...
9
7799
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 remember that I clicked a button before the refresh. Here is what is going on: 1) Page Loads 2) User enters some values, clicks the "Save" button 3) The onClick event handler for the save button saves the data to the database and the page is...
10
23420
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? Thanks very much for your help! Fred
2
2641
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 browser Refresh button or is requested by the previous page "Application_Form.asp". I tried using <%if Request.ServerVariables("REQUEST_METHOD") = "POST" then%> <!--it is requested from "Application_Form.asp, do something-->
1
2715
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. 3. Again when page refresh is done by (f5) then submit button is fired implicitly.
2
1858
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 intervention is required to refresh the web page and show the process results. I need to fully automate this process. In a nutshell, the browser window needs to be automatically refreshed as soon as my application completes its processing. In other...
11
13011
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 perform insertion and redirect it back to my previos page. can i not do this insertion on the same page? if i wirte insertin code on the same page it perform insertion for the page refresh also...thats why i m using another page(some people says...
4
5288
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 called Go). It has a page for each game of course. I'm making the website in PHP and MySQL, I know that for 'real-time' games another solution would probably be better, but I'm learning to master php and MySQL. The game is shown via the <canvas>...
0
9684
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10459
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
10236
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
10182
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,...
1
7552
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
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
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
3
2928
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.