Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6326483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:06:01+00:00 2026-05-24T17:06:01+00:00

What I need is in a window I want to open, there is this:

  • 0

What I need is in a window I want to open, there is this:

width="989" height="560"

And I want the width and height to be that of the screen.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:06:02+00:00Added an answer on May 24, 2026 at 5:06 pm

    I take it you mean that the HTML of a web page you want to open contains a fixed width and height (indicated in your code snippet above).

    Since the server doesn’t know where the client’s browser is on the screen, nor the size of the screen, it cannot specify the size of the page. Instead, you need to use Javascript to set the size and position of the browser window:

    <html>
    <head>
        <title>Maximuizing Window</title>
    </head>
    <body width="300" height="200">
        <h1>Hello world</h1>    
        <p>
            This page should maximize ... but only if its opened alone
            and not as part of browser window containing other open tabs.
        </p>
    
    <script type="text/javascript">
        // When we move the window, make sure to take into consideration the 
        // available screen height to acommodate the taskbar.
        window.moveTo(screen.width - screen.availWidth, screen.height - screen.availHeight);
    
        // Resize the browser window to the available width & height:
        window.resizeTo(screen.availWidth, screen.availWidth);
    </script>
    </body>
    </html>
    

    HTH.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is a UI where I want to open a popup window of an
I want to do XMLParsing in c(windows). for that i need the libxml/xmlversion.h file.
I need to open a new window from code-behind on post-back if a specific
Is there some method to issue a screen capture(browser window content only) from the
Goal : I want flash to have accurate information about the width and height
I have a requirement that I need to create a link to open a
I'm using windows 7 64 bits and I want to know if I need
I need execute some code before Windows shutdown process each time. So, I want
I've got an app running maximized in a borderless window and need access to
I need to kill x window system on mac (I'm linux user, I don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.