function opennWindow(){
var myopen=confirm();
if(myopen==true);
var mywebsit=prompt();
if(mywebsit==null);
window.open('http://www.imooc.com/','_blank,''width=400,height=500,neubar=no,toobar=no')
}
function opennWindow(){
var myopen=confirm();
if(myopen==true);
var mywebsit=prompt();
if(mywebsit==null);
window.open('http://www.imooc.com/','_blank','width=400,height=500,neubar=no,toobar=no')
}
function 函数和body里面调用的名字都不一样能运行吗???
_blank后面多了一个逗号,设置没有菜单栏是menubar=no单词拼写不对
function opennWindow(){
var myopen=confirm();
if(myopen==true);
var mywebsit=prompt();
if(mywebsit==null);
window.open('http://www.imooc.com/','_blank','width=400,height=500,neubar=no,toobar=no')
}