Security message when I click "close window" button in browser

C

custombeadcrafts

I've inserted a "close window" button on my pages, but when I click on it in
the browser I get the following message
To help protect your security, Internet Explorer has restricted this file
from showing active content..."
Is there any way to allow customers to close a window without getting that
message?
 
T

Thomas A. Rowe

Open the window via JavaScript and make sure you are test the site via http in a browser.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
K

Kevin Spencer

If you add "window.opener = self;" prior to the "window.close();"
instruction, this will not happen. Assuming that is, that I understand your
problem fully.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top