Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pausing before page redirection

Status
Not open for further replies.

ridzz

Programmer
Sep 30, 2001
23
0
0
MY
Helo..
I would like to ask if it is possible to have a delay in the page redirection? What i want to do is for the user being able to read the page for a few seconds before it is automatically redirected to a new page. How do i do that..?

Thanx
 
Hm. I think you might have posted this question to the wrong forum, ridzz. I don't see how it relates to Tcl/Tk.

On the assumption that you're asking about doing page redirection for HTML browsers, there are several web sites that describe how to do this. Doing a search, the first one I encountered was - Ken Jones, President
Avia Training and Consulting
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
what about sleep command ? Doesn' it work? Sivakumar Kandaraj
web system programmer
Melbourne
 
after will work for you and it is platform independent.
There is no sleep in win32 and the sleep call you are thinking of only works for *nix machines.
read the docs for the after command.

ex:

foreach xxx $myurls {
puts $page $xxx
flush $page
after 150000
continue
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top