1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Rep Power
    Hi, i use this statements to get and store information of size and placement of the browser window:

    document.ProfileForm.WinHeight.value = parent.window.outerHeight;
    document.ProfileForm.WinWidth.value = parent.window.outerWidth;
    document.ProfileForm.WinLeft.value = parent.window.screenX;
    document.ProfileForm.WinTop.value = parent.window.screenY;

    Obviously this works fine in NS but not in IE, is there some way I can get the same information in IE?

    I store the info in a database so the user gets the same size and placement every time he logs in to my application.

    / Zebaot
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Aalborg, Denmark
    Rep Power

    You can use
    (inner width of the browser window in px)
    (inner height of the browser window in px)

    it's not quite the same, but I hope you can use it

    // Martin

Similar Threads

  1. Opening other programs
    By VBdumbie110 in forum Visual Basic Programming
    Replies: 4
    Last Post: November 14th, 2003, 12:25 AM
  2. Replies: 1
    Last Post: May 7th, 2003, 03:49 PM
  3. restoring focus to pop-up window
    By bakedbean in forum HTML Programming
    Replies: 15
    Last Post: July 16th, 2002, 07:18 PM
  4. Pass values from main window to pop up window
    By desiana in forum Java Help
    Replies: 1
    Last Post: November 9th, 2001, 07:25 AM
  5. window.open causing parent window to hide
    By maxclarke in forum HTML Programming
    Replies: 1
    Last Post: August 22nd, 2001, 04:29 PM

IMN logo majestic logo threadwatch logo seochat tools logo