<!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,''top=100,width=600,height=400,left=0')
}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" >
</body>
</html>
window.open('http://www.imooc.com','_blank,''top=100,width=600,height=400,left=0') 错了
改为window.open('http://www.imooc.com','_blank','top=100,width=600,height=400,left=0')
改为window.open(”http://www.imooc.com”,”_blank”,top=100,width=600,height=400,left=0) ;
把网址和窗口名称用双引号 慕课这一课有错
少了“;”,检查一下有没有中文输入的字符