M
Marina Ferguson
Hi,
I have a function that I use to open a window and maximize it:
function funOpenWin(strPath) //strPath contains path to the file to load
{
var objHelpWin;
objHelpWin = window.open( strPath, "_blank", "menubar=no,
scrollbars=yes, status=yes");
objHelpWin.moveTo(0,0);
objHelpWin.resizeTo(objHelpWin.screen.availWidth,objHelpWin.screen.availHeig
ht);
}
If I pass it a file with an .html extension, it works just fine. But if I
pass it a file with an .xml extension, it gives me an error on the last
line. The window still opens and displays just fine, but it's not
maximized.
Any help would be appreciated.
I have a function that I use to open a window and maximize it:
function funOpenWin(strPath) //strPath contains path to the file to load
{
var objHelpWin;
objHelpWin = window.open( strPath, "_blank", "menubar=no,
scrollbars=yes, status=yes");
objHelpWin.moveTo(0,0);
objHelpWin.resizeTo(objHelpWin.screen.availWidth,objHelpWin.screen.availHeig
ht);
}
If I pass it a file with an .html extension, it works just fine. But if I
pass it a file with an .xml extension, it gives me an error on the last
line. The window still opens and displays just fine, but it's not
maximized.
Any help would be appreciated.