Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Not all openBrWindow attributes work

  • 2 réponses
  • 1 a ce problème
  • 2 vues
  • Dernière réponse par 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.)

Toutes les réponses (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