M
mindseeker
I have a html window that is opened from another link with the toolbars
etc off.
i have javascript code to detect the users screen size, which then the
newly opened window uses to resize to full screen.
this code doesnt seem to work correctly with IE and XP. it works
correctly under netscape, mozilla in XP, and under WIN2k, it works with
IE, netscape mozilla. it does it on other peoples pcs, so i know its
just not me
If i press F5 to refresh the browser, it will then correct itself and
size to full screen.
is it a bug or just blame the moon?
code below
***********************
<HTML>
<HEAD>
<TITLE>Interactive Map of Bay of Plenty Region</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">
blah blah blah
</BODY>
</HTML>
**********************
driving me crazy
any comments welcome
cheers
etc off.
i have javascript code to detect the users screen size, which then the
newly opened window uses to resize to full screen.
this code doesnt seem to work correctly with IE and XP. it works
correctly under netscape, mozilla in XP, and under WIN2k, it works with
IE, netscape mozilla. it does it on other peoples pcs, so i know its
just not me
If i press F5 to refresh the browser, it will then correct itself and
size to full screen.
is it a bug or just blame the moon?
code below
***********************
<HTML>
<HEAD>
<TITLE>Interactive Map of Bay of Plenty Region</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">
blah blah blah
</BODY>
</HTML>
**********************
driving me crazy
any comments welcome
cheers