LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-27-2003, 07:27 PM   #1
mcTwix
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Question mozilla: close window problem


Hello,

why does the following command only work with Internet Explorer and not with Mozilla & Co:

<a href="javascript:top.close()" target="_self">Close</a>

Mozilla javascript console:
Scripts may not close windows that were not opened by script.

Mozilla Version:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

Thanks.
Regards,
mcTwix
 
Old 11-27-2003, 07:57 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Isn't that some security setting?
Allow script to...
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript - what to use rather than window.close() then window.open() davee Programming 2 04-11-2005 08:28 AM
close a window with script box_l Programming 0 07-27-2004 07:57 AM
How to close a corrupted window satimis Red Hat 14 06-21-2004 11:13 PM
mozilla: close window problem? mcTwix Programming 3 03-17-2004 12:32 PM
Close Mozilla window taoweijia Programming 1 12-17-2003 12:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration