<!--把如下代碼加入<body>區域中:--> <script> <!-- function channel(){ window.open("index.htm","","channelmode,scrollbars") } //--> </script> <p> <form> <input type="button" onClick="channel()" value="打開窗口" name="button"> </form>