How can I hide the address bar (location bar ) in a modal dialog? Here is my code:
var dialogFeatures = \'center:yes; dialogWidth:600px; location:no;dialogHe
You can't.
Hiding the address bar is disallowed in most browsers, for security reasons.
You can't hide the address bar, location: no is not a valid option for the features argument.
In Internet Explorer 7 and later, all windows opened by the browser have an address bar. The same is true of Google Chrome and other browsers supporting showModalDialog.
It's not possible. The address bar is a security feature in most browsers, in IE since version 7, in Firefox (I think) since version 2.
in about:config change this parameter:
dom.disable_window_open_feature.location
and for menubar and any other components you have to change their feature in about:config