Reply
Automatically close a window...
Old 08-03-2006, 05:58 AM Automatically close a window...
Skilled Talker

Posts: 58
Hi,

I used Javascript to auto close a window after 10 seconds.

And it is working fine, except that my browser asks me if it can allow the program to close the window.

The page contains passwords, and can not stay open.

How do I get it to close, and NOT to ask permission to close?

Thanx!
Llama is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 08-03-2006, 12:37 PM Re: Automatically close a window...
funkdaddu's Avatar
Web Design Snob

Posts: 636
What browser are you using?
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 08-04-2006, 06:07 AM Re: Automatically close a window...
Skilled Talker

Posts: 58
Internet Explorer 6 & Firefox
Llama is offline
Reply With Quote
View Public Profile
 
Old 08-04-2006, 09:40 AM Re: Automatically close a window...
funkdaddu's Avatar
Web Design Snob

Posts: 636
I think because the action is not triggered by a user action (like clicking on a button) it's going to be treated like a pop-up is. Maybe you can have a script zero-out all the content, then prompt the user to close with a button, then try and automatically close the window as a fall-back.
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to Automatically close a window...
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12545 seconds with 12 queries