|
Anpanman,
Are you talking about having a visitor come to your home page, and then five seconds later it refreshes itself?
If this is the case, there are a couple of ways to do this, the easiest one being to use the "meta refresh" tag which is recognized by most "modern" browsers - IE 5 and greater, NS 4.78 and greater, Firefox, Opera, etc...
Place the following tag in the <head> portion of your HTML document:
<meta http-equiv="refresh" content="600">
The value that you put in the 'content' with determine how many seconds will elapse prior to the page refreshing itself. In the above example the page would refresh in 10 minutes.
Another way you could refresh the page is by using Javascript and the setTimeout() function available. It's a bit more involved, and will also work with most modern browsers.
I will be happy to provide an illustration of the Javascript method if the <meta> tag does not suit your needs. Please let me know.
Take care,
Ric
|
|
Expert:
|
rcastagna
|
|
Date:
|
Jul 24, 2006
|
|
Time:
|
03:54
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
Great, I thought I had to use javascript to get it right for most browsers.
Thanks for the answer.
|
|
Expert:
|
Anpanman
|
|
Date:
|
Jul 25, 2006
|
|
Time:
|
02:21
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
I am developing a web page that has to update things periodically with out refreshing the webpage (I have multiple forms in my web page and I don't want to disturb other forms). I can get the things back to the web page and they can be updated periodically when I use a single form. But the problem is when I use multiple forms in a single web page I am not able to refresh the single form. Can any one provide some tips how can I send single form request to the server.
Note: Please remember that I can't use submit buttons or anchor tags for submiting the form. It should be done automatically.
|
|
Expert:
|
madinenilakshman
|
|
Date:
|
Mar 21, 2008
|
|
Time:
|
04:41
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
|
|
|
|
This question has been answered, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.
|
|