编辑下面的代码:【加编码】
<html> <head> <script> function open_win() { window.open("http://www.ziqiangxuetang.com","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400"); } </script> </head> <body> <form> <input type="button" value="Open Window" onclick="open_win()"> </form> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂