我正在使用JavaScript作为弹出窗口。 但我想要做的是加载弹出的页面在某个区域,通过说一个X & Y坐标指定。JavaScript窗口打开选项
我当前的代码是:
function openwindow()
{
window.open("index.php?dll=gallery&sub=upload","mywindow","menubar=1,resizable=1,width=660px,height=390px");
}
这是可以实现的,如果是这样,怎么样,基于代码我已经提供。
谢谢
看一看于:https: //developer.mozilla.org/en/DOM/window.open#Position_and_size_features –
[为新窗口设置位置]的可能重复(http://stackoverflow.com/questions/2317144/set-position-for-new-window ) – Quentin