Max M wrote:
From: ov@zope.org Oliver Vecernik
I'd like to show a page and after a few seconds I'd like to redirect to another page. If I simply add <!--#call "RESPONSE.redirect"--> it is done immediately. How can I achieve a delay of a couple of seconds?
First you should send the page you want to show, then you should redirect to
That's what I did.
a page with a delay. Probably you should write it in an external Python method.
How can this be done? Can you give me an example?
That page should then redirect to the target page.
Or you could drop the middle page and build the delay into the target page. That is stupid though if it is also accesed from elsewhere than the first page you want shown.
Or you could make a delay in JavaScript and after that do a self.document.src = "new/url"
I've forgotten to mention: Browser can only display HTML 3.2 and *no* JavaScript. Thus it should be done on server side. Oliver