js之window
2021-03-12 14:28
标签:打开 lan var set interval time 超时 top open 1.获得窗口的位置 var left = window.screenLeft || window.screenX; 2.获得窗口的大小 var width = document.documentElement.clientWidth || document.body.clientWidth; 3.窗口的打开和关闭 var window1 = window.open("http://www.baidu.com", 4. 超时调用 setTimeOut(fn,500) 5.间隔调用 setInterval(fn,500) 清除间隔调用 int timer = setInterval(fn,500); clearInterVal(timer);rrrr5f 6.系统对话框 alert(‘hello world!‘); confirm(‘Are you sure?‘); 确认框 prompt(‘Are you sure?‘,‘Michael‘); 提示框 js之window 标签:打开 lan var set interval time 超时 top open 原文地址:https://www.cnblogs.com/xiaoxinstart/p/12588301.html
var top = window.screenTop || window.screenY;
var height = document.documentElement.clientHeight || document.body.clientHeight;
"_blank",
"height=400,width=400,top=10,left=10,resizable=yes");
window1.close();