<!doctype html><html><head><meta charset="utf-8"><title>.....</title></head> <script type="text/javascript"> function demo(){ if(confirm("你确定真的要打开新窗口吗?")); window.open("http://www.baidu.com","_blank","width:200,height:200,toolbar:yes,scrollbars:yes,menubar:yes" } </script><body> <input name="button" type="button" onClick="demo()" value="点击我" / ></body></html>
添加回答
举报
0/150
提交
取消