M
mindseeker
i have a html page that is opened from anoth browser with toolbar etc
off, when the page is opened it resizes to the users screen. it has
javascript which gets the screen size then plugs these numbers into the
resize function.
now, it doesnt resize correctly under XP with IE, it is either not wide
enough or high enough. however, if i F5 to refresh, it will then resize
correctly!
Netscape and mozilla is fine. It resizes fine under WIN2k and IE aswell!
is this sum bug? because its driving me crazy and i cant find a work around.
this also happens on other people computers aswell, so i know its just
not me.
the code is
<HTML>
<HEAD>
<TITLE>test</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
var winHeight=screen.height;
var winWidth=screen.width;
winHeight = winHeight-25;
window.resizeTo(winWidth,winHeight);
window.moveTo(0,0);
</SCRIPT>
<BODY BGCOLOR="#FFFFFF">
hi hi</BODY>
</HTML>
off, when the page is opened it resizes to the users screen. it has
javascript which gets the screen size then plugs these numbers into the
resize function.
now, it doesnt resize correctly under XP with IE, it is either not wide
enough or high enough. however, if i F5 to refresh, it will then resize
correctly!
Netscape and mozilla is fine. It resizes fine under WIN2k and IE aswell!
is this sum bug? because its driving me crazy and i cant find a work around.
this also happens on other people computers aswell, so i know its just
not me.
the code is
<HTML>
<HEAD>
<TITLE>test</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
var winHeight=screen.height;
var winWidth=screen.width;
winHeight = winHeight-25;
window.resizeTo(winWidth,winHeight);
window.moveTo(0,0);
</SCRIPT>
<BODY BGCOLOR="#FFFFFF">
hi hi</BODY>
</HTML>