March 22nd, 2000, 04:44 AM
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.
March 30th, 2000, 11:22 AM
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