|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
dos anyone know how i can close a window without asking the user, and without the user clicking a link or image?
this would help on my site greatly, thanks to anyone who could help |
|
#2
|
|||
|
|||
|
Are you trying to close the parent window or a child (popup) window?
When you say you want the window to close without the user clicking a link or an image, when exactly do you want the window to close? We can hopefully help you out a bit more if you answer these questions. |
|
#3
|
|||
|
|||
|
well, both would be helpful, i dont really care which, its just really annoying when im trying to automate my pages and it comes up
"the page you are viewing is trying to close the window. do you want to close this window?" |
|
#4
|
|||
|
|||
|
you can close a window with a timer...
one thing about closing windows tho, is that because of security issues, the browsers only let you close windows which were opened by you. otherwise, it will prompt the user for confirmation. javascript:self.close() and then trigger it by whatever means you choose, although besides clicking, AFAIK, that just leave timers... |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > closing a window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|