设置的参数怎么都没有反应啊?我试了单独卸载notepad+里面然后显示,还是一样的,有人可以解答一下么?

<!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.imooc.com','_blank','width=600,height=400,left=0,top=100')   

  } 
</script>
</head>
<body>
    <input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >
</body>
</html>
window.open('http://www.imooc.com','_blank','width=600,height=400,left=0,top=100')

这里窗口打开没有参数变化,还是该怎样是怎么样

maiziq10
浏览 1453回答 2
2回答

萧雁翎

改成这样就对了window.open(url('_blank','height=400 left=0 top=100');望采纳

bwin

这里窗口打开没有参数变化,还是该怎样是怎么样没明白什么意思
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript