<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>> Your code works for Safari 2.0.4 -- it sets the browser window's <BR>> height to maximum.<BR>
<BR>Yes I know that, - 'couldn't leave the <FONT>height property empty, could I?</FONT><BR>
You can change it to whatever you like any time.<BR>
Thanks for testing in Safari, I knew it will run, but wasn't sure if it will do it's job correctly.<BR>
(Now, that you didn't answer!)<BR>
That is: resize the browser window so that our desired body width fits exactly. <BR>
<BR>
-Reason of my doubt:<BR>
Even if all Netscape browsers should have the same frame width, I'm not sure if they do, -unless I measured them. <BR>
Second: I don't know if mac OS is also using exactly 16 pixel wide scrollbars. With these questions answered the code <BR>
will be completely certified for browsers requested, that are: IE, FX & Safari. In case the second requirement doesn't meet <BR>
both platforms, than we'll need to add yet another conditional to finish it.<BR>P.S.:<BR>
I've just viewed your page at:http://xn--ovg.com/a/detect_window_size.php<BR>
It's showing incorrect width for every < 832 pixel dimension, while the height reported is always 187.<BR>
Second: it's showing the page width not the window width!<BR>Check it back...<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR> Troy III<BR> progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Your code works for Safari 2.0.4 -- it sets the browser window's <BR>> height to maximum.<BR>> <BR>> Geof:<BR>> <BR>> <BR>> >Really I am hoping to find some sort of property that I can query to <BR>> >get these values on the fly or a different way to resize a window.<BR>> <BR>> Check out:<BR>> <BR>> http://xn--ovg.com/a/detect_window_size.php<BR>> <BR>> Perhaps that would work for you (code's in the source)<BR>> <BR>> hth's<BR>> <BR>> tedd<BR>> <BR>> -- <BR>> -------<BR>> http://sperling.com http://ancientstones.com http://earthstones.com<BR>> _______________________________________________<BR>> Javascript mailing list<BR>> Javascript@LaTech.edu<BR>> https://lists.LaTech.edu/mailman/listinfo/javascript<BR><BR><br /><hr />Express yourself instantly with Windows Live Messenger! <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=joinmsncom/messenger' target='_new'>Windows Live Messenger!</a></body>
</html>