<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hello tedd,<BR>You asked:<BR>
> Do you have any js code that will report the current browser window <BR>> size in PC Win / IE, Fx?<BR>
No! <BR>But the code I've posted can calculate it. With a simple modification you can use it<BR>to calculate the current browser window width instead of arbitrary setting it.<BR>
add this line <BR>
viewport=document.body.clientWidth<BR> alert(viewport) <BR>
before the<BR>...<BR>var newWidth = viewport + frame + scrlbar<BR>alert(newWidth)<BR>
while commenting resizeTo(); moveTo(), <BR>and you're a go...<BR>
*Includes NN8, IEx, Op9, Fx, (probably Safari and others to)<BR>Works in almost all modern browsers; -as it seems!<BR>
<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR> Troy III<BR> progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<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>