Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Not all openBrWindow attributes work

  • 2 antwoorden
  • 1 heeft dit probleem
  • 2 weergaven
  • Laatste antwoord van 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.)

Alle antwoorden (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