var width=window.innerWidth,height=window.innerHeight; //分別定義width和height接收窗口的高和寬 alert(width); //窗口的寬度1920px ...
確定! 回上一頁