Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Not all openBrWindow attributes work

  • 2 odgovora
  • 1 ima ovaj problem
  • 2 prikaza
  • Posljednji odgovor od 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.)

Svi odgovori (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