0

Possible Duplicate:
Open new popup window without address bars in firefox & IE

I have the following code which works in ie(no addressbar, status bar, etc but not firefox... any suggestions?

    function popUpDetails(trackNum) {
        var newWindow = (window.open('popUpDetails.aspx?trackNum=' + trackNum, 'Title', 'width=540,height=265, location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=no, modal=no'));
    }

enter image description here

enter image description here

Community
  • 1
  • 1
MrM
  • 21,709
  • 30
  • 113
  • 139
  • 1
    Duplicate of this: [How to pop out a Firefox window without an address bar or status?](http://stackoverflow.com/questions/2924851/how-to-pop-out-a-firefox-window-without-an-address-bar-or-status) – Nightfirecat Mar 25 '11 at 18:42
  • seems to be same as http://stackoverflow.com/questions/2909645/open-new-popup-window-without-address-bars-in-firefox-ie – Naren Sisodiya Mar 25 '11 at 18:52

1 Answers1

0

I dont think this is supported in Mozilla. I believe instead of using a popup window you should be using colorbox a jQuery Lightbox. http://colorpowered.com/colorbox/

sushil bharwani
  • 29,685
  • 30
  • 94
  • 128
  • window.open is totally supported by Firefox (https://developer.mozilla.org/en/DOM/window.open) – machineghost Mar 25 '11 at 21:29
  • I don't think sushil meant that window.open is unsupported, but that hiding the address bar when doing so is unsupported. Which is correct. – Joel Mueller Mar 25 '11 at 21:52