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. absolute page size using javascript

absolute page size using javascript

Scheduled Pinned Locked Moved Web Development
javascriptlearning
4 Posts 3 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
    Newborn Naughtysaint
    wrote on last edited by
    #1

    how i can make the absolute page size using javascript. i mean when it opened, the window size will be in that size.:suss: thanx >>teaching is also learning.<<

    T 1 Reply Last reply
    0
    • N Newborn Naughtysaint

      how i can make the absolute page size using javascript. i mean when it opened, the window size will be in that size.:suss: thanx >>teaching is also learning.<<

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

      You do: window.open("YOUR_URL.HTM","_blank","width=300,height=300"); you can replace the 300 value with whatever you want. |---------------| | theJazzyBrain  | |---------------|

      N 1 Reply Last reply
      0
      • T theJazzyBrain

        You do: window.open("YOUR_URL.HTM","_blank","width=300,height=300"); you can replace the 300 value with whatever you want. |---------------| | theJazzyBrain  | |---------------|

        N Offline
        N Offline
        Newborn Naughtysaint
        wrote on last edited by
        #3

        thanks:cool:

        R 1 Reply Last reply
        0
        • N Newborn Naughtysaint

          thanks:cool:

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

          You can try this to always open the window in full screen. window.open('index.html','','top=0,left=0,height=' + screen.availHeight + ',width=' + screen.availWidth); 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