为什么窗口不显示呢
<script type="text/javascript">
function Wopen(){
var Wopen=confirm("你确定要打开?")
if (Wopen==true);
{
window.open('http://www.imooc.com','_blank','width=600,height=400,menubar=yes,toolbar=yes, status=yes,scrollbars=yes');
}
else
{
alert("打开失败!");
}
}
}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >