Nuisance msg after "Close.Window" button or hyperlink

P

PT

Thanking Steve Easton & Wally S for the help on my close window hyperlink question. Both suggested scripts are exactly what I needed
Is there anyway to avoid the nuesance message "The web page youn are viewing is trying to close the window. Do you want to close the window? Yes/NO" It seems very redundant for my intended use. Thanking anyone, P
 
T

Thomas A. Rowe

Yes, you must create the window via JavaScript instead of using the New Window (_blank) target
value.

See Spawn at http://www.jimcoaddins.com
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


PT said:
Thanking Steve Easton & Wally S for the help on my close window hyperlink question. Both
suggested scripts are exactly what I needed.
Is there anyway to avoid the nuesance message "The web page youn are viewing is trying to close
the window. Do you want to close the window? Yes/NO" It seems very redundant for my intended use.
Thanking anyone, PT
 
P

PT

Works great now. I had been testing it on the page itself without going back to the hyperlink itself which opens the page with Spawn at http://www.jimcoaddins.co
Thank you Thomas, P


----- PT wrote: ----

Thanking Steve Easton & Wally S for the help on my close window hyperlink question. Both suggested scripts are exactly what I needed
Is there anyway to avoid the nuesance message "The web page youn are viewing is trying to close the window. Do you want to close the window? Yes/NO" It seems very redundant for my intended use. Thanking anyone, P
 
S

Steve Easton

One way is to open the page with the button in a new window.
You only get the prompt if closing the page is also closing the only page from the web that is open.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

PT said:
Thanking Steve Easton & Wally S for the help on my close window hyperlink question. Both
suggested scripts are exactly what I needed.
Is there anyway to avoid the nuesance message "The web page youn are viewing is trying to close
the window. Do you want to close the window? Yes/NO" It seems very redundant for my intended use.
Thanking anyone, PT
 
Top