im very confused, on one page for a site i am creating i have this code
[CODE]<script language=”JavaScript”>
<!–
function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
//–>
</script>
in the <head> section, which is called by this link
[CODE]<a href=”#” onClick=”MM_openBrWindow(‘main.aspx’,’main’,’resizable=no,scrollbars=no,toolbar=no,location=no,directories=no,status=yes,menubar=no,copyhistory=no,[B]width=820,height=644[/B]’)” STYLE=”TEXT-DECORATION: NONE”>click here</a>
on the newly loaded page i have the following
[CODE]<head>
<script language=”JavaScript”>
<!–
function resizeFunc()
{
window.resizeTo([B]width=825,height=697[/B]);
}
//–>
</script>
</head>
<body onresize=”resizeFunc()” onresizestart=”resizeFunc()”>
…
whats confusing me is that the size measurements in the resizeTo function (825,697) end up resizing the window to the same size as it is when opened with (820,644). if i try to use (820,644) with the resizeTo function, part of the page is lost… can anyone tell me why this is happening?
thanks in advance.