|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
|
Timing web pages
What i need to be able to do in ASP or poss javascript, is close a popup window automatically after 10 mins.
any ideas? |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
Can be done in JavaScript.
In your popup's source code: PHP Code:
HTH |
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
|
this works but the window gives that message "the window is trying to close" then a yes or no.
can i either force it to close, or redirect to another page after 10 mins? |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
You won't get this message if you use this piece of code in a popup, this message shows up only if a script tries to close a main window.
As for redirecting, use the piece of code in the attachment (for some reason, it's not showing up properly on the forum). Last edited by aym; 10-09-2002 at 04:59 PM. |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
(I couldn't attach after posting)
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|