点击打开窗口按钮,即可打开一个近似于全屏的窗口。
<title>JS全屏窗口</title> <script> <!-- function channel(){ window.open("/","","channelmode,scrollbars") } //--> </script> <form> <input type="button" onClick="channel()" value="打开窗口" name="button"> </form>