<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Here, if you start with: browser sniffing; syntax: supported/not supported,<BR>
values: matched/didn't mach and making other necessary adjustments, -this <BR>
simple demand will require over 100 lines of (getting ugly) script and at least <BR>
a week of debugging!<BR>
&nbsp;<BR>
If you are asking for a solution of simply displaying a HTML object in the lower<BR>
right corner of the page statically, -but nothing more; all you need, is a little magic&nbsp;converting&nbsp; <BR>
physical dimensions into abstract ones,&nbsp;becoming browser independent.<BR>
To do this,<BR>
first: you declare your object&nbsp;in this manner:<BR>
&nbsp;<BR>
&lt;div id="BRC" <BR>
&nbsp; style="<FONT class="">position:absolute; top:100</FONT>%; left:100%; <FONT class="">width:140px; height:140px; background:navy</FONT>;"&gt;<BR>
&nbsp; some sample text<BR>
&lt;/DIV&gt;<BR>
&nbsp;<BR>
This way you've converted Top and Left&nbsp;measures into abstract values, so every browser will know <BR>
how to convert them into their own current dimensions. Now that we're done with the magic, all we <BR>
have to do is to get this object in place, since we now have both, the height and the width of the&nbsp;Unknown Browser.<BR>
&nbsp;<BR>
The script:<BR>
<BR >var <FONT class="">BRC </FONT>= document.getElementById( "BRC" ) <BR>
<FONT class=""><FONT class=""><FONT class="">BRC.style.top</FONT></FONT> </FONT>= (<FONT class=""><FONT class="">BRC.offsetTop</FONT> - BRC.offsetHeight</FONT>)<BR>
<FONT class=""><FONT class="">BRC.style.left</FONT> </FONT>= (<FONT class=""><FONT class="">BRC.offsetLeft</FONT> - <FONT class="">BRC.offsetWidth</FONT></FONT>)<BR>
&nbsp;<BR>
And tihis is all?<BR>
-Of course it's not! &nbsp;<BR>
The following is&nbsp;<FONT class="">optional,</FONT>&nbsp;-depending on the content/layout of the page<BR>
&nbsp;<BR>
[add these on top of current script if needed]<BR>
var <FONT class="">BDY </FONT>= document.getElementById( "BDY" )<BR>
BDY.<FONT class="">style.overflow </FONT>= "hidden"<BR ><BR>
&nbsp;<BR>
and/or/if&nbsp;also the:<BR>
&nbsp;<BR>
BDY.style.overflow="auto"<BR>
[At the end of current, only if needed]<BR>
&nbsp;<BR>
But as I've already stated, -once you&nbsp;are onto tweaking, you are no longer in charge.<BR>
You&nbsp;run into compromise&nbsp;allowing things&nbsp;to get complicated, while&nbsp;code&nbsp;grows rapidly<BR>
into <FONT class="">noncomprehensive bunch of letters</FONT>.<BR>
&nbsp;<BR>
This much for a free solution,&nbsp;otherwise, a better solution would forever be: sending <BR>
a Null-Dimensional, Pilot-Probe-Object to take and retrieve measures, instead of the real one&nbsp;first!<BR>
&nbsp;<BR>
*tested in NN8 (both modes), <FONT class="">IE6, Opera9 and&nbsp;</FONT>&nbsp;FX1.5<BR>
&nbsp;<BR>
&nbsp;<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
Troy&nbsp;III<BR>
progressive&nbsp;art&nbsp;enterprise<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR ><BR ><BR>
&nbsp;<BR>

<HR id=stopSpelling>
<BR>
&gt; From: john@jwarner.com<BR>&gt; To: javascript@LaTech.edu<BR>&gt; Date: Sat, 15 Jul 2006 04:41:09 -0400<BR>&gt; Subject: [Javascript] Window dimensions?<BR>&gt; <BR>&gt; Is&nbsp;there&nbsp;a&nbsp;way&nbsp;to&nbsp;determine&nbsp;the&nbsp;internal&nbsp;size&nbsp;(the&nbsp;area&nbsp;where&nbsp;the<BR>&gt; document&nbsp;displays)&nbsp;of&nbsp;the&nbsp;browser&nbsp;window.&nbsp;Sort&nbsp;of:&nbsp;<BR>&gt; x&nbsp;=&nbsp;window.width&nbsp;<BR>&gt; &nbsp;y=window.height<BR>&gt; <BR>&gt; I&nbsp;need&nbsp;to&nbsp;place&nbsp;an&nbsp;object&nbsp;in&nbsp;the&nbsp;lower&nbsp;right&nbsp;corner&nbsp;of&nbsp;the&nbsp;users&nbsp;browser<BR>&gt; if&nbsp;this&nbsp;helps&nbsp;and&nbsp;I&nbsp;need&nbsp;to&nbsp;get&nbsp;it&nbsp;there&nbsp;no&nbsp;matter&nbsp;what&nbsp;their&nbsp;browser<BR>&gt; window&nbsp;size.<BR>&gt; <BR>&gt; Thanks<BR>&gt; <BR>&gt; John&nbsp;Warner<BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Javascript&nbsp;mailing&nbsp;list<BR>&gt; Javascript@LaTech.edu<BR>&gt; https://lists.LaTech.edu/mailman/listinfo/javascript<BR><BR><br /><hr />With MSN Spaces email straight to your blog. Upload jokes, photos and more. It's free! <a href='http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://www.imagine-msn.com/spaces' target='_new'>It's free!</a></body>
</html>