参数scrollbars、menubar、status和toolbar都为yes是在新标签打开而不是新窗口,这四个参数哪个为no效果一样
<!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,menubar=yes,scrollbars=yes,status=yes,toolbar=yes');
}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >
</body>
</html>参数scrollbars、menubar、status和toolbar都设为yes时,为什么页面是在另一个标签页打开而不是在新窗口打开?打开的页面如下图显示是不是参数scrollbars、menubar、status和toolbar起作用的提现?
还有就是,为什么那四个参数不管哪个设为no或同时设为no,都在新窗口打开但是效果都是一样的?哪位大神能帮忙解答一下,万分感谢!