<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks <st1:City w:st="on"><st1:place
w:st="on">Troy</st1:place></st1:City>,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This may help if I can’t find a more
direct way of getting these measurements or accomplishing my goal in another
manner.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Really I am hoping to find some sort of
property that I can query to get these values on the fly or a different way to
resize a window.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks though, I very well may end up
using these values<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-Geoff<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
javascript-bounces@LaTech.edu [mailto:javascript-bounces@LaTech.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Troy III Ajnej<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, July 24, 2006 5:02
PM<br>
<b><span style='font-weight:bold'>To:</span></b> [JavaScript List]<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Javascript] Resizing
browser window</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><br>
These are the measures that my pilot-probe-object is reporting for the width of
client area in the following <br>
browsers on Windows platform:<br>
<br>
<br>
Browser: Explorer 6 Navigator 8 Opera 9 Firefox
1.5<br>
<br>
-------BROWSER MAXIMIZED-------<br>
my screen 1920 1920 1920 1920 px<br>
--------------<br>
scrl Off -1916 -1920 -1914 -1920<br>
scrl on -1900 -1904 -1898 -1904<br>
----------------------------------------------------------------------------<br>
delta off -4 -0 -6 -0<br>
delta on -20 -16 -22 -16<br>
<br>
<br>
-------BROWSER RESTORED-------<br>
Window 1/2 960 960 960 960 px<br>
--------------<br>
scrl off 948 952 946 952<br>
scrl on 932 936 930 936<br>
-----------------------------------------------------------------------------<br>
delta off 12 8 14 8 <br>
delta on 28 24 30 24<br>
<br>
-------BROWSER RESTORED-------<br>
Window 1/3 640 640 640 640 px<br>
--------------<br>
scrl off 628 632 626 632<br>
scrl on 612 616 610 616<br>
-----------------------------------------------------------------------------<br>
delta off 12 8 14 8<br>
delta on 28 24 30 24<br>
<br>
<br>
So this means that scrollbars are always 16 pixels by windows default settings<br>
Variabile is the space used by window borders:<br>
<br>
SCROLLBARS OFF<br>
IE when Maximized takes 4 px for the border<br>
NN takes null<br>
Op takes 6<br>
Fx takes null<br>
<br>
[and these are the values of your interest]<br>
Restored <br>
IE=12<br>
NN=8<br>
OP=14<br>
Fx=8<br>
*These results are scientifically exact*<br>
Sorry about Safari I don't have it. <br>
And hope this is what you asked for ;)<br>
Now you do the math...<br>
<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Troy III<br>
progressive art enterprise<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
<hr size=2 width="100%" align=center id=stopSpelling>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><br>
> From: <st1:PersonName w:st="on">geoffreyk@seanet.com</st1:PersonName><br>
> To: <st1:PersonName w:st="on">javascript@LaTech.edu</st1:PersonName><br>
> Date: Mon, 24 Jul 2006 07:38:39 -0700<br>
> Subject: [Javascript] Resizing browser window<br>
> <br>
>
First off, let me state that I don't want to do this, and have tried to<br>
>
convince the decision makers that this is a bad idea, but to no avail. <br>
> <br>
>
At a certain point in the application that I am working on, I need to shrink<br>
>
the width of the current browser and open a new, small browser window next<br>
>
to it. I am having some troubles getting the width of the browser window. I<br>
>
can get the width of the viewport, but not the width including scrollbars<br>
> and browser frame. The heart of the trouble is that I can get the width of<br>
>
the viewport, but can only set the width of the browser window. Is there a<br>
>
way to get the width of the browser window and/or set the width of the<br>
> viewport so that browser will resize around it? I need to support ie6, FF<br>
> and Safari. <br>
> <br>
> Thanks for any help<br>
> -Geoff<br>
> <br>
> <br>
> _______________________________________________<br>
> Javascript mailing list<br>
> Javascript@LaTech.edu<br>
> https://lists.LaTech.edu/mailman/listinfo/javascript<br>
<br>
<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Express yourself instantly with <a
href="http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=joinmsncom/messenger"
target="_new">Windows Live Messenger</a><o:p></o:p></span></font></p>
</div>
</body>
</html>