為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Not all openBrWindow attributes work

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.)

所有回覆 (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