Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Not all openBrWindow attributes work

  • 2 replies
  • 1 has this problem
  • 2 views
  • Last reply by cor-el

more options

I'm trying to use the JavaScript "openBrWindow" function in one of my web pages. I have it set to strip the new window of everything but scroll bars: "MM_openBrWindow('car_ad.html','printSample','scrollbars=yes,width=1255')" It opens a window just fine in Firefox 3.6, but the window still has a location bar and a status bar. Even if I specifically type in "location=no", the bar is still there. (The new window looks just like it should in IE.) I also noticed that setting "resizable=no" doesn't work either in FF. What do I need to do to get these additional attributes to work in FF? (Btw, if I'm in the wrong forum, please tell me where I should post this. Thank you.)

I'm trying to use the JavaScript "openBrWindow" function in one of my web pages. I have it set to strip the new window of everything but scroll bars: "MM_openBrWindow('car_ad.html','printSample','scrollbars=yes,width=1255')" It opens a window just fine in Firefox 3.6, but the window still has a location bar and a status bar. Even if I specifically type in "location=no", the bar is still there. (The new window looks just like it should in IE.) I also noticed that setting "resizable=no" doesn't work either in FF. What do I need to do to get these additional attributes to work in FF? (Btw, if I'm in the wrong forum, please tell me where I should post this. Thank you.)

All Replies (2)

more options

This forum focuses on end-user support. You can find more web development help on the mozillaZine Web Development board. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting.

That said, your function probably is a wrapper for window.open(), so check out this page: https://developer.mozilla.org/en/window.open

more options