want existing window fullscreen after clicking button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • omhingmire
    New Member
    • Mar 2008
    • 2

    want existing window fullscreen after clicking button

    Hi,

    I have 1 window which I want to open in full screen after clicking button or image.
    just like a windows media player..

    Anybody can help me..

    Thanks in advance
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You can't maximise or use fullscreen on the existing window, but you can try window.resizeTo () with screen.availHeight/availWidth/height/width.

    Comment

    • omhingmire
      New Member
      • Mar 2008
      • 2

      #3
      I am using Mozilla firefox browser , this code won't work for firefox.
      Suggest me some other code which will fullscreen (just like after pressing F11 key) my exitsting window

      Thanks

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        This is not supported on Mozilla/Firefox. See this link (fullscreen). If it's not supported for window.open(), it's hardly likely to be supported for the existing window.

        Comment

        Working...