If the window that you are trying to close is not a window that you opened via your script, you will get the dialog from the browser as a security measure when your script tries to close the window. Bob Filipiak (Contractor) MCP -----Original Message----- From: ROB N. [mailto:am_a_tiger at hotmail.com] Sent: Wednesday, June 13, 2001 12:11 PM To: javascript at LaTech.edu Subject: [Javascript] Need Help Hi, I have a site with this script on some of the pages: <P ALIGN=CENTER> <A HREF="javascript:window.close()"><font size=1>CLOSE THIS WINDOW</font></A> </P> When I click on the link, I get a pop-up window that says: "The webpage you are viewing is trying to close the window. Do you want to close this window?" How can I make this stop popping up??? Thanks, Rob _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010613/995b8874/attachment.htm>