window.open()打开新窗口 定位有感

来源:互联网 发布:windows打开keynote 编辑:程序博客网 时间:2024/05/20 16:44

 经过半天的调试 发现

function ajk(){
window.open('Untitled-2.html','neworder','toolbar=no,location=no,status=no,menubar=no,directories=no,scrollbars=no,

alwaysRaised=no,top=400,left=0,width=300,height=200');
}

中的top,left在定位时起作用 而bottom,right起不到定位的作用(仿佛是在哪看过,调了半天。。。汗。。)