Hi, I am try to have a main page to auto refresh every ten minutes. The problem that i am having is to put the client page back to its current position within that page. For example, index_html#middle or index_html#bottom. the meta tag: <META HTTP-EQUIV="Refresh" CONTENT="600"> will reload and display the current page from the top. It loses the current position like #middle or #bottom part of the current URL. Does anyone know a way for me to do this in Zope using the REQUEST variable or some similar methods? thanks, Mike
Mike Doanh Tran wrote:
I am try to have a main page to auto refresh every ten minutes. The problem that i am having is to put the client page back to its current position within that page. For example, index_html#middle or index_html#bottom. the meta tag: <META HTTP-EQUIV="Refresh" CONTENT="600"> will reload and display the current page from the top. It loses the current position like #middle or #bottom part of the current URL.
Does anyone know a way for me to do this in Zope using the REQUEST variable or some similar methods?
You can't directly force reloads of client-pages from a server. If "refresh" doesn't work for you, you should switch to JavaScript... setTimeout and then load a new url (=> of course the old url with anchor) into the current window. Cheers, Maik
participants (2)
-
Maik Jablonski -
Mike Doanh Tran