<script type="text/javascript"> function openWindow() { var open=confirm("是否打开新窗口"); if(open==true){ var url=prompt("确定打开的网址","http://www.imooc.com/"); if(url!=null) { window.open(url,"_blank",'width=400,height=500,toolbar=no,menubar=no'); } else{alert("nono");} } else{alert("nono");} }
添加回答
举报
0/150
提交
取消