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 6668771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:04:36+00:00 2026-05-26T03:04:36+00:00

I believe a bug fix to Firefox is causing me grief when using the

  • 0

I believe a bug fix to Firefox is causing me grief when using the window.resize function in my asp pages. I am desperately seeking an alternative to this and would be most grateful for any suggestions…

My pages are currently setup the following way

I have a main page, lets call it main.asp.
Within main.asp I have a html form with a button. The button, when clicked called a javascript function to open a new window like to:

<html>
    <head>
        <title>Main Page</title>
    </head>
    <body>
        <SCRIPT LANGUAGE="javascript">
        function popupNew()
        {
            var win = window.open('child.asp', '_blank', 'width=400,height=260,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=yes');
            win.focus();
        }
        </SCRIPT>
        <table>
            <tr>
                <td>
                    <button type="button" style="width:50px; font-family:arial,sans-serif; font-size:11px;" onclick="popupNew();">Add</button>
                </td>
            </tr>
        </table>
    </body>
</html>

Ok so as you can see I can open child.asp from main.asp. Within Child asp, I have a form. The form stores a boolean on whether or not valid data has been posted. I use this boolean to determine the size of the window (if the data is not valid, I resize the window to allow for an error message. Here is a rough example of how this goes down…

<html>
  <head>
    <title>Child Page</title>
  </head>
  <body onload="_onLoad()">
    <SCRIPT LANGUAGE="javascript">
    function _onLoad()
    {
      var sResizeForError = String(document.getElementById("ResizeForError").value);

      if(sResizeForError == "true")
      {             
        window.resizeTo(400, 520);
      }
    }
    </SCRIPT>
    <form name="PageForm" method="Post" action="">
      <input type="hidden" name="ResizeForError" id="ResizeForError" value="true"/>
    </form>
  </body>
</html>

For some unknown reason, the window no longer resizes in firefox, it works fine however in I.E.

Thoughts? Are there better ways of doing this other than window resize?

  • 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-26T03:04:37+00:00Added an answer on May 26, 2026 at 3:04 am

    As you’ve found bug information it’s true that Firefox 7 locked down window resizing if it wasn’t opened with window.open or window contains more than one tab.

    You can fond more information on this on the internet:

    • What’s New in Firefox 7 for Developers, No More Window Resize, Improved WebSockets
    • Bug 565541 – Web sites shouldn’t be allowed to resize main window – rules that disable resizeTo
    • …

    What can you do?

    Since opening new windows has lots of security and usability issues and it may as well be locked down in the future as well (although unlikely) it’s best for you to either:

    • open your form centrally positioned (horizontally and vertically) in your main window
    • if your main window content should stay there and user focus should switch to the form, you can open the form in a modal HTML window that many libraries support (like jQuery UI)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an IE bug that I'm not sure how to fix. Using jQuery
I've found what I believe to be a bug with Firefox and I'm wondering
I have recently upgraded to Play 1.2.4 and I believe the bug fix for
I've stumbled upon what I believe is a bug in the stl algorithm advance
While developing a WinForms application, I came across what I believe is a bug
I believe I have found a weird bug as follow: I want to delete
I have a very strange bug, which I believe is caused by some code
I have a bug I'm struggling to track down. I believe what's happening is
I believe strongly in using unit-tests as part of building large multi-platform applications. We
I have a bug somewhere that is causing my app to just vanish without

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.