<input type="button" value="新窗口打开网站" onclick="openWindow()" />
<script type="text/javascript">
function openWindow(){
var message = confirm("是否进入百度网?");
if(message==true){
if(url=prompt("请输入网址:","http://www.baidu.com/")){
window.open(url,"_blank","height=500,width=400,menubar=no,toolbar=no");
}else{
window.close();
}
}else{
window.close();
}
}
</script>
淡雅的默
theowu
theowu
theowu
qq_冲哥_0
qq_奋斗中的钢子_0
相关分类