- var popUp = null; //彈出窗口
- function OpenChoice(strHttp) {
- var height = 400;
- var width = 300;
- var top = (screen.height -
height) / 2;
- var left = (screen.width -
width) / 2 + 200;
-
- if (popUp && popUp.open
&& !popUp.closed) {
-
popUp.close();
- }
-
-
popUp = window.open(strHttp, "彈出選擇窗口", "height=" + height + ", width=" + width + ",
top=" +
top + ",
left=" +
left + ",toolbar=no, menubar=no, scrollbars=yes,
resizable=yes,location=no, status=no");
- }
該文章在 2022/12/22 20:55:02 編輯過