<SCRIPT LANGUAGE="JavaScript">
function openIt() {
var w=250,h=200;
window.open("","","width="+w+",height="+h+",left="+(event.x+window.screenLeft-w)+",top="+(event.y+window.screenTop))
}
</SCRIPT>
<button onclick="openIt()">open</button>
function openIt() {
var w=250,h=200;
window.open("","","width="+w+",height="+h+",left="+(event.x+window.screenLeft-w)+",top="+(event.y+window.screenTop))
}
</SCRIPT>
<button onclick="openIt()">open</button>
function openIt() {
var w=250,h=200;
window.open("","","width="+w+",height="+h+",left="+(event.x+window.screenLeft)+",top="+(event.y+window.screenTop))
}
</SCRIPT>
<button onclick="openIt()">open</button>
dim winWidth
winHeight=按钮上方的位置
winWidth =按钮右边的位置window.open("11.asp",,"height="+winHeight+",width="+winWidth+");