Forum Moderators: open
I found a piece of javascript that added the following features to the window.open method:
--
resizable=1,toolbar=1,location=1,directories=1,addressbar=1,
scrollbars=1,status=1,menubar=1,top=0,left=0,
screenX=' + window.screenLeft + ',
screenY=' + window.screenTop + ',
width=' + window.availWidth + ',height=' + window.availHeight;
--
With these features, the window opens perfectly maximized.
The problem is that I don't want all the features, so I want to turn off the toolbar, status, menubar etc.
When I do that, the size is not good anymore (approx 10px to wide and to high) ... seems that everything must be 'on' ...
is there a workaround for this (perfect maximized window with no features enabled)?
I don't want to begin using availHeight - xx px because the height of a window can differ according to the visual style you are using in XP...
I am using IE 6 SP1 on Windows XP
Thanks
Yoeri