通过点击按钮来打开一个窗口通过点击按钮来打开一个窗口<html><head><script type="text/javascript">function open_win() {window.open("http://www.yousite.com")}</script></head> <body><form><input type=button value="打开窗口" onclick="open_win()"></form></body> </html>