很奇怪的window.open的问题,大家帮忙~

adonis2222 2003-10-17 04:34:31
我已经在window.open里设置了top=100和left=100,可是打开时仍然跑到左上角去,程序如下
<a onMouseOver="this.style.cursor='hand'" onClick="winopen('zt01.asp')">打开一个新窗口</a>

function winopen(strhref){
var strhref1=strhref;
window.open(strhref1,"newwin","toolbar=no,status=no,help=no,location=no,top=100,left=100,menubar=no,width=650,height=350,scrollbars=1,resizable=0");
}

...全文
52 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复