怎么样才能控制弹出新窗口的位置
<html><head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF">
<a href="#" onClick="MM_openBrWindow(http://www.blueidea.com,BlueIdea, toolbar=no,location=no,status=no,menubar=no,scrollbars=no, resizable=no,width=200,height=100,left=200,top=100)">click me </a>
</body>
</html>
注:left, top 是只对IE有效.
在netscape 4 里用screenX,screenY.
分享到: