|How do you get "_blank" target windows to be fullsized?|
| 3:20 pm on Feb 20, 2006 (gmt 0)|
I have the link: <a href="http://www.mysite.com" target="_blank">test</a>, but when I click it in IE it opens in only a half sized window. How do I get it to open in a full sized window?
| 3:35 pm on Feb 20, 2006 (gmt 0)|
| 8:18 pm on Feb 21, 2006 (gmt 0)|
| 8:50 pm on Feb 21, 2006 (gmt 0)|
Last I knew, there was not a way to directly open up a maximized window, but I have used a function like the one below, which orders the window to open and then to immediately resize to the maximum available screen area.
function open_window_max(URL, WinName)
sOptions = 'status=yes,menubar=yes,scrollbars=yes,resizable=yes,toolbar=no';
sOptions = sOptions + ',width=' + (screen.availWidth - 50).toString();
sOptions = sOptions + ',height=' + (screen.availHeight - 50).toString();
sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';
wOpen = window.open( '', WinName, sOptions );
wOpen.location = URL;
wOpen.moveTo( 0, 0 );
wOpen.resizeTo( screen.availWidth, screen.availHeight );