www.webdeveloper.com
Results 1 to 6 of 6

Thread: fullscreen mode after window opens

  1. #1
    Join Date
    Jan 2003
    Posts
    97

    Question fullscreen mode after window opens

    can't seem to get the proper syntax for this:


    window.onload = fullscre();
    function fullscre() {
    this.fullscreen=YES;
    }
    Last edited by catchup; 03-21-2006 at 09:35 PM.

  2. #2
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    YES?
    Try TRUE or something that a computer actually understands..

  3. #3
    Join Date
    Dec 2004
    Posts
    8,637
    Even then -- it ain't gonna work. You are not allowed to change the window's features *after* the window is already opened.

  4. #4
    Join Date
    Mar 2006
    Location
    California
    Posts
    306
    Do you mean something like this?
    Code:
    <html>
    <head>
    <title>Resizing Window</title>
    <script language="JavaScript">
    window.onload = doResize;
    function doResize(){
      window.moveTo(0,0);
      window.resizeTo(window.screen.availWidth,window.screen.availHeight);
    }
    </script>
    <body>
    </body>
    </html>
    JS > PHP > Everything

  5. #5
    Join Date
    Jan 2003
    Posts
    97
    bathurst_guy, i get not implemented with this:
    window.onload = fullscre();
    function fullscre() {
    this.fullscreen='YES';
    }

    Basically i would like to hide the browser back button in IE from within the opening window, any suggestions?

    thanks

  6. #6
    Join Date
    Dec 2004
    Posts
    8,637
    Quote Originally Posted by catchup
    Basically i would like to hide the browser back button in IE from within the opening window, any suggestions?
    Repeating:
    Quote Originally Posted by phpnovice
    You are not allowed to change the window's features *after* the window is already opened.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles