window is not getting full screen

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    window is not getting full screen

    I am using this JavaScript code to open a window in a full screen mode ....
    [code=JavaScript]
    var styles = "menubar=no,loc ation=no,resiza ble=no,scrollba rs=yes,status=n o,left=0,top=0, width="+screen. width+",height= "+screen.height ;
    alert('Width: ' + screen.width + 'Height: ' + screen.height);
    var _win = window.open("we lcome.jsp","ope ner_window",sty les);
    [/code]
    Now it's working properly in IE but not working in Mozilla.
    In Mozilla, first of all it's having the status bar and secondly it's not getting full screen.
    What should i be doing to correct it ..please help !
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You should find this a good read. The status bar is always visible even if you also set to it false.

    Comment

    • dmjpro
      Top Contributor
      • Jan 2007
      • 2476

      #3
      I already read out this link and there i found a note about status bar in Mozilla.
      Anyway thanks! ;)

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        No problem. A question though: any particular reason why you want to open this full screen?

        Comment

        Working...