Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
What is the best way to have auto-refresh?
Old 12-26-2005, 01:59 AM What is the best way to have auto-refresh?
Ultra Talker

Posts: 250
Location: Massachusetts
Trades: 5
Is there a way to have your site auto refresh? Currently, I have a small pop-up that reminds my visitors to refresh. Is there a way for a basic HTML page to auto refesh?

Mike
__________________

Please login or register to view this content. Registration is FREE
for those living in Korea

Please login or register to view this content. Registration is FREE
for those living in Korea

Please login or register to view this content. Registration is FREE
Buy, sell or trade sport cards
mikesilvia is offline
Reply With Quote
View Public Profile Visit mikesilvia's homepage!
 
 
Register now for full access!
Old 12-26-2005, 09:59 AM
Average Talker

Posts: 28
Trades: 0
its nonsense. it is not required. tell why u need an auto-refresh? i dont see any ideas for that!
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Surfing7 is offline
Reply With Quote
View Public Profile Visit Surfing7's homepage!
 
Old 12-26-2005, 11:03 AM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Trades: 0
Quote:
Originally Posted by surfing7
its nonsense. it is not required. tell why u need an auto-refresh? i dont see any ideas for that!
Please don't be so utterly ridiculous - how on earth do you know whether or not he "needs" auto-refresh? There are many websites that may require auto-refresh, although many of which are slowly being replaced with AJAX, such as web-based email or webcams.

Mike, use the following meta tag in your <head> tag:

Code:
<META HTTP-EQUIV=Refresh CONTENT="10; URL=index.htm">
This will refresh the index.htm page after 10 seconds.

I believe you can also do it with Javascript - let me know if you need to
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by Harvey; 12-26-2005 at 11:09 AM..
Harvey is offline
Reply With Quote
View Public Profile
 
Old 12-27-2005, 05:51 AM
amygdela's Avatar
Super Talker

Posts: 111
Trades: 0
I heavily agree with Surfing7. Refreshing a page without letting your visitors know is not really top-of-the-line accesibility. Never surpise your visitors on a website.
__________________

Please login or register to view this content. Registration is FREE
amygdela is offline
Reply With Quote
View Public Profile
 
Old 12-27-2005, 02:32 PM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Trades: 0
I think it's a little bit of an assumption to make, that the refresh tag has absolutely no use whatsoever.

Whether it's "top-of-the-line accesibility" or not, or if you think it's "nonsense" is out of the question. The fact is, Mike wanted to know the code to do it, and I told him - it's that simple.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Harvey is offline
Reply With Quote
View Public Profile
 
Old 12-28-2005, 08:01 PM
Ultra Talker

Posts: 250
Location: Massachusetts
Trades: 5
Harvey, thanks! I just want the page to refresh when a visitor comes back, not while he is on the site. Any ideas?

I am not sure what the big fuss is. I make a lot of changes on my front page and a few other HTML pages. If my visitors come back and don't refresh their page, they will not see the changes and think the site is dead. I had a bunch of people tell me, "I don't see the changes you made." I always say "refesh your browswer" and they say, "ah!"

I am pretty new to being a webmaster. I have 3 years experience running forums, but have been working on websites for the past year. Please help a newbie and let me know why a refresh code is wrong! I don't need an autorefresh while members are surfing the site, just a refresh when they return.

Mike
__________________

Please login or register to view this content. Registration is FREE
for those living in Korea

Please login or register to view this content. Registration is FREE
for those living in Korea

Please login or register to view this content. Registration is FREE
Buy, sell or trade sport cards

Last edited by mikesilvia; 12-28-2005 at 08:04 PM..
mikesilvia is offline
Reply With Quote
View Public Profile Visit mikesilvia's homepage!
 
Old 12-29-2005, 03:52 AM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Trades: 0
Ah, I see...

In my few years of being a webmaster, I've never had this problem - I'll post back with some ideas later
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Harvey is offline
Reply With Quote
View Public Profile
 
Old 12-29-2005, 04:27 AM
King Spam Talker

Posts: 1,186
Location: Manchester, UK
Trades: 0
Hi mikesilvia,

could you use
HTML Code:
<meta http-equiv="expires" content="0">
to stop the page caching? Each time the user returned to the page there would be no cache and the page would load from the server.
gringo is offline
Reply With Quote
View Public Profile Visit gringo's homepage!
 
Old 05-29-2006, 10:21 PM Re: What is the best way to have auto-refresh?
Ultra Talker

Posts: 250
Location: Massachusetts
Trades: 5
Gringo, thanks! Sorry for the late reply.

Mike
__________________

Please login or register to view this content. Registration is FREE
for those living in Korea

Please login or register to view this content. Registration is FREE
for those living in Korea

Please login or register to view this content. Registration is FREE
Buy, sell or trade sport cards
mikesilvia is offline
Reply With Quote
View Public Profile Visit mikesilvia's homepage!
 
Old 07-06-2006, 09:56 AM Re: What is the best way to have auto-refresh?
Novice Talker

Posts: 6
Name: Dirk-Jan
Trades: 0
empty cache problem ... solved ?
__________________

Please login or register to view this content. Registration is FREE
- Asynchronous Javascript and XML Discussion Board
deejay111 is offline
Reply With Quote
View Public Profile Visit deejay111's homepage!
 
Old 07-06-2006, 12:45 PM Re: What is the best way to have auto-refresh?
Skilled Talker

Posts: 87
Trades: 0
How is it nonsense? Suppose it was a news site or sports site that he was building that was updating often? Like a football match...90 mins...updating when there is a foul, card, goal, penalty etc. Because you don't use it doesn't mean it is useless. I'm pretty sure that you have something on your website if you have one that is deemed useless! However it is only useful depending on the type of website that you are working on.
__________________
Visit
Please login or register to view this content. Registration is FREE
and the
Please login or register to view this content. Registration is FREE
. You won't regret it. Link exchanges are welcome with sites with appropriate content.
agent14 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What is the best way to have auto-refresh?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.81467 seconds with 12 queries