R
Rob
Hi,
I have some problems resizing a html page when it is loaded.
I want the page to resize to the screensize.
The following snipped of code (see below) works perfect on my Windows NT.
but not on my Windows 98.
Windows 98 with Ms Explorer 6.0.2800.1106IS
Update versions:; SP1; q313829; Q328970; Q330994; Q813389l Q818529; Q824145;
What am I doing wrong.
It is from a site that I am constructing at:
http://test.comweb.nl/pereira/newsite2/
Thanks for any comments on how to solve this problem.
Rob.
<!-- resize window to wanted size -->
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
function sizeWindow()
{
width=window.screen.width;
height=window.screen.height;
window.moveTo(0,0);
window.resize(width,height);
}
//-->
</SCRIPT>
<BODY bgcolor="#DEEFF8" topmargin="0" leftmargin="15" marginwidth="15"
marginheight="0" onLoad="sizeWindow();">
I have some problems resizing a html page when it is loaded.
I want the page to resize to the screensize.
The following snipped of code (see below) works perfect on my Windows NT.
but not on my Windows 98.
Windows 98 with Ms Explorer 6.0.2800.1106IS
Update versions:; SP1; q313829; Q328970; Q330994; Q813389l Q818529; Q824145;
What am I doing wrong.
It is from a site that I am constructing at:
http://test.comweb.nl/pereira/newsite2/
Thanks for any comments on how to solve this problem.
Rob.
<!-- resize window to wanted size -->
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
function sizeWindow()
{
width=window.screen.width;
height=window.screen.height;
window.moveTo(0,0);
window.resize(width,height);
}
//-->
</SCRIPT>
<BODY bgcolor="#DEEFF8" topmargin="0" leftmargin="15" marginwidth="15"
marginheight="0" onLoad="sizeWindow();">