Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    128
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Pop up dimensions for full screen display

    Can anybody please tell me what is the pop up size that I need to specify, if want want a pop up to open in full screen on a 1024 x 768?

    Thanks

  • #2
    Regular Coder Nischumacher's Avatar
    Join Date
    Oct 2005
    Location
    Bombay, India
    Posts
    196
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Code:
    var w = screen.width;
    var h = screen.height;
    var prop = 'height=' + h + ',width=' + w + ',top=0,left=0';
    window.open('http://www.google.com',null,prop);
    - NS 666
    .net DEVILoper

  • #3
    Regular Coder
    Join Date
    May 2006
    Posts
    128
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks...will this code adjust the pop up dimensions for screen resolutions above 1024 x 768?

  • #4
    Regular Coder Nischumacher's Avatar
    Join Date
    Oct 2005
    Location
    Bombay, India
    Posts
    196
    Thanks
    0
    Thanked 2 Times in 2 Posts
    YeS...
    iT TaKeS THe SCReeN DiMeNSioNS...
    You MaY uSE screen.availWidth aND screen.availHeight instead of screen.width aND screen.height...
    - NS 666
    .net DEVILoper


  •  

    Posting Permissions

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