hope someone can help. just cannot get a new window to open in Firefox without address bars. IE works fine with below code
window.open('/pageaddress.html', 'winname',
directories=0,titlebar=0,toolbar=0,location=0,status=0,
menubar=0,scrollbars=no,resizable=no,
width=400,height=350);
I need to make for all browser
Firefox 3.0 and higher have disabled setting
location
by default.resizable
andstatus
are also disabled by default. You can verify this by typing `about:config' in your address bar and filtering by "dom". The items of interest are:You can get further information at the Mozilla Developer site. What this basically means, though, is that you won't be able to do what you want to do.
One thing you might want to do (though it won't solve your problem), is put quotes around your window feature parameters, like so:
In internet explorer, if the new url is from the same domain as the current url, the window will be open without an address bar. Otherwise, it will cause an address bar to appear. One workaround is to open a page from the same domain and then redirect from that page.
Check the mozilla documentation on window.open. The window features ("directory=...,...,height=350") etc. arguments should be a string:
Try if that works in your browsers. Note that some of the features might be overridden by user preferences, such as "location" (see doc.)
Workaround - Open a modal popup window and embed the external URL as an iframe.
check this if it works it works fine for me