window.open參數
//開啟至中函數function inputData(targetURL,winW,winH){
screenW=screen.width/2;
screenH=screen.height/2;
winL=screenW-(winW/2);
winT=screenH-(winH/2);
window.open(targetURL,"","toolbar=yes,resizable=yes,scrollbars=yes,width="+winW+",height="+winH+",left=screen.width/2,top="+winT);
}
页:
[1]