<!DOCTYPE?html> <html> ?<head> ??<title>?new?document?</title>?? ??<meta?http-equiv="Content-Type"?content="text/html;?charset=gbk"/>??? ??<script?type="text/javascript">? ?? ???function?openWindow() ???{ ????? ???????var?confm=confirm("確認打開新窗口?"); ???????if(confm==true){ ???????????var?def=prompt("請輸入網站:"," http://www.xianlaiwan.cn/ "); ???????????window.open(def,'_blank','width=400,hight=500,menubar=no,toolbar=no') ???????} ??? ???}? ???? ??</script>? ?</head>? ?<body>? ???<input?type="button"?value="新窗口打開網站"?onclick="openWindow()"?/>? ?</body> </html>

雨果_0001
2014-10-20
0 回答
舉報
0/150
提交
取消