Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Java Script FullScreen Part2

Java Script FullScreen Part2

Scheduled Pinned Locked Moved Web Development
questionjavahtmlsysadmintools
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nelo Angelo
    wrote on last edited by
    #1

    shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me. <!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //--> Stay well and ejoy life to the max

    T A R 3 Replies Last reply
    0
    • N Nelo Angelo

      shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me. <!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //--> Stay well and ejoy life to the max

      T Offline
      T Offline
      The_Server
      wrote on last edited by
      #2

      Hi --- I didnt understand your question. PLease explain... BTW: Greate function The Server gave you... but only 1 more thing to add use this code the get the screen resoulotion: var screenWidth = window.screen.width; var screenHeight = window.screen.height; // I learned it 2 minutes ago =-=-=-=-=-=-=-= The Server :rose:

      N 1 Reply Last reply
      0
      • T The_Server

        Hi --- I didnt understand your question. PLease explain... BTW: Greate function The Server gave you... but only 1 more thing to add use this code the get the screen resoulotion: var screenWidth = window.screen.width; var screenHeight = window.screen.height; // I learned it 2 minutes ago =-=-=-=-=-=-=-= The Server :rose:

        N Offline
        N Offline
        Nelo Angelo
        wrote on last edited by
        #3

        You gave me the function, right but now how do I activate the function to open the window in fullscreen. I know someone who said open it in or something but when I tried it failed! Hope this expl works!! Thanxs for the help!! Stay well and ejoy life to the max

        T 1 Reply Last reply
        0
        • N Nelo Angelo

          shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me. <!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //--> Stay well and ejoy life to the max

          A Offline
          A Offline
          Anonymous
          wrote on last edited by
          #4

          For IE, try window.open("popup.html","","scrollbars=yes,fullscreen=yes");

          B 1 Reply Last reply
          0
          • A Anonymous

            For IE, try window.open("popup.html","","scrollbars=yes,fullscreen=yes");

            B Offline
            B Offline
            basementman
            wrote on last edited by
            #5

            Sorry, forgot to sign in before posting..;P  onwards and upwards...

            1 Reply Last reply
            0
            • N Nelo Angelo

              You gave me the function, right but now how do I activate the function to open the window in fullscreen. I know someone who said open it in or something but when I tried it failed! Hope this expl works!! Thanxs for the help!! Stay well and ejoy life to the max

              T Offline
              T Offline
              The_Server
              wrote on last edited by
              #6

              Just copy/paste the text below to an empty HTML file:

              function WhatEverFunc()
              {
              // what ever code you want
              // i.e. the open window call (window.open("popup.html");
              alert("Hope this code helps you");
              }

              =-=-=-=-==-=-= :rose::rose::rose::rose::rose:

              1 Reply Last reply
              0
              • N Nelo Angelo

                shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me. <!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //--> Stay well and ejoy life to the max

                R Offline
                R Offline
                Rahul Walavalkar
                wrote on last edited by
                #7

                You can try this to open the window in full screen. window.open('page.html','','top=0,left=0,height=' + screen.availHeight + ',width=' + screen.availWidth); You can also try adding, subtracting some from the screen.availHeight, screen.availHeight etc to adjust your window as per your requirements. cheers :) Written on a gravestone: Hear lies a father of 29. He could have had more but he didn't have the time!

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups