ภาษาไทย
<!-- เพิ่มโค้ดต่อไปนี้ลงในพื้นที่ <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 || document.layers ||documentGetElementByID) ? : 48; if (screen_height >= 768) { screen_width = 1024; var window_width = 1024-12; var window_height = 768-buffer; var window_left = 0; ','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_left = 0; ' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ''); } } </script> <BODY onLoad="ScreenGoToURL('1024x768.html' ,'800x600.html')"> </td> </tr> </table>