点击按钮不能打开网页
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>window对象</title>
<script type="text/javascript">
function Wopen()
{
window.open('http://www.imooc.com','_blank','height=600,width=400,top=100');
}
</script>
</head>
<body>
<form>
<input type="button" value="点击我,打开新窗口" onClick="Wopen()" />
</form>
</body>
</html>