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