中文(繁体)
<!-- 把如下程式碼加入<body>區域中--> <table width=300 border=1 bordercolor=#000000> <tr> <td> 現在的電腦效能越來越好,好多人已經開始使用1024 *768解析度了,但是經常發生網頁瀏覽不正常的情況,這個腳本可根據解析度自動進行導航,在特定場合是非常有用的,你好好看看吧! ! ! <script language="JavaScript1.2"> function ScreenGoToURL(Big,Medium) { var screen_height = screen.height; var screen_width = screen.width; var buffer = (document.all || 2um. : 48; if (screen_height >= 768) { screen_width = 1024; screen_height = 768; var window_width = 1024-12; var window_height = 768-brodows; ','resizable=no,status=yes,width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ''); } else { screen_width = 800; screen_height = 600; var window_width = 800-12; var window_height = 600-buffer; var window_top = 0; var window_left = 0; window.open window_top = 0; var window_left = 0; window.open(Medium,'','resizable,wid=wuable00,0000),(Medium,'','resizable=widm=wm. ' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ''); } } </script> <BODY onLoad="ScreenGoToURL('1024x768.html'x768. ,'800x600.html')"> </td> </tr> </table>