我居然写出来了~
function openWindow(){ var openor=confirm('确定打开?') if(openor==true){ var siteright=prompt('请确认网址','http://www.imooc.com') if(siteright){ window.open(siteright,'_blank','width=400,height=500,scrollbars=no,status=no') }else{} }else{} }
function openWindow(){ var openor=confirm('确定打开?') if(openor==true){ var siteright=prompt('请确认网址','http://www.imooc.com') if(siteright){ window.open(siteright,'_blank','width=400,height=500,scrollbars=no,status=no') }else{} }else{} }
2018-04-09
举报