為什么打開頁面的窗口沒有像我設定的寬,高呢?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
? function Wopen(){
? ? ? window.open('http://www.xianlaiwan.cn','_blank','width=600,height=400,top=100,left=0')
? ? ??
? }?
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點擊我,打開新窗口!" / >
</body>
</html>
2018-07-27
谷歌也有用? 你刷新一下緩存試試? 我這邊IE? 谷歌都可以
2018-07-07
僅對ie有用
2018-06-15
有時候網站有緩存,會自動保存你之前的設置,刷新一下就ok
2018-06-12
我這邊測試了ok啊。
2018-06-12
我復制了你的代碼,在我這邊是可以顯示你設定的寬高