cunning-fox
06-18-2002, 02:07 AM
Hi,
Is there anything you can add to this code to make the window centered horizontally and vertically. Here is the code:
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<a href="#" onClick="MM_openBrWindow(page.html,'','scrollbars=no,width=551,height=324,directories=no,menubar=no,resizable =yes,left=121,top=100')">Click Here</a>
Is there anything you can add to this code to make the window centered horizontally and vertically. Here is the code:
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<a href="#" onClick="MM_openBrWindow(page.html,'','scrollbars=no,width=551,height=324,directories=no,menubar=no,resizable =yes,left=121,top=100')">Click Here</a>