为了账号安全,请及时绑定邮箱和手机立即绑定

参数如何起作用啊

<title>window.open</title>

<script type="text/javascript">

  function Wopen(){

    window.open('http://www.imooc.com','_blank','width = 600, height = 400, top = 100px, left = 0') 

    

  } 

</script>

</head>

<body>

    <input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >

</body>

</html>




代码如上,感觉没起作用

正在回答

5 回答

button.btn.btn-danger.del(type="button",data-id="#{item._id}")删除?list里面的button要写对

q

0 回复 有任何疑惑可以回复我~

更改为:window.open('http://www.imooc.com','_blank','width = 600, height = 400, top = 100, left = 0')

改了top=100px

0 回复 有任何疑惑可以回复我~

      window.open('http://www.imooc.com','_blank','width=600,height=400,top=100;,left=0');


0 回复 有任何疑惑可以回复我~

  window.open('http://www.imooc.com','_blank','width = 600px, height = 400px, top = 100px, left = 0px') ;

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
JavaScript入门篇
  • 参与学习       738375    人
  • 解答问题       9561    个

JavaScript做为一名Web工程师的必备技术,本教程让您快速入门

进入课程

参数如何起作用啊

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信