1.

Solve : Auto Renew??

Answer»

I have a site with time SENSITIVE information on it. Unfortunately, most of my viewers are elderly and have no concept of refreshing the page. Is there a script that will automatically refresh a page when that link is clicked? Yes, a very simple one.

<a href="#" onclick="javascript:window.location.reload();">Refresh Page[/url]

QUOTE from: kpac on January 18, 2009, 04:55:16 AM

Yes, a very simple one.

<a href="#" onclick="javascript:window.location.reload();">Refresh Page[/url]


Thank you,
I placed the script in the head and it appears as a hyper-link. Is there any way it will work as a hidden text, ie it will automatically refresh when the page is pulled up without having to click on a HYPERLINK?You want the page to automatically refresh every so often?

http://grizzlyweb.com/webmaster/javascripts/refresh.asp - Have a look there.Only when someone first accesses the page.I'm not 100% sure what you mean...

Quote from: kpac on January 18, 2009, 07:51:51 AM
http://grizzlyweb.com/webmaster/javascripts/refresh.asp - Have a look there.

Did you try here?:-[Whenever someone accesses the page, I want it to be the latest updated version. In short, I don't want them to have to refresh the page themselves in order to have the latest update. Yes, I am "playing" with that page. Thanks.Quote from: smokeydog001 on January 18, 2009, 03:13:30 PM
:-[Whenever someone accesses the page, I want it to be the latest updated version. In short, I don't want them to have to refresh the page themselves in order to have the latest update. Yes, I am "playing" with that page. Thanks.

So... you don't want the browser to load the page from their cache?

I believe there are metatags to set page expiry... I wouldn't know what they are... it's been so LONG...Ah, GOTCHA both.

http://www.i18nguy.com/markup/metatags.html


Discussion

No Comment Found