ภาษาไทย
<!-- bbs http://www.downcodes.com/bbs--> <!-- 把下列代码加到<body>区域内 --> <script language="JavaScript" type="text/javascript" > <!-- //จาวาสคริปต์เพิ่มเติมจาก http://www.downcodes.com var imgheight1 var imgleft1 document.ns = navigator.appName == "Netscape" window.screen.width>800 ? imgheight1=300:imgheight1=300 //default160 window.screen.width>800 ? imgleft1=20:imgleft1=150 ฟังก์ชัน myload1() { if (navigator.appName == "Netscape") {document.myleft1.pageY=pageYOffset+window.innerHeight-imgheight1; document.myleft1.pageX=imgleft1; ย้ายซ้าย1(); } อื่น ๆ { myleft1.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight1; myleft1.style.right=imgleft1; ย้ายซ้าย1(); } } ฟังก์ชั่น leftmove1() { if(document.ns) { document.myleft1.top=pageYOffset+window.innerHeight-imgheight1 document.myleft1.right=imgleft1; setTimeout("leftmove1();",1) } else { myleft1.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight1; myleft1.style.right=imgleft1; setTimeout("leftmove1();",1) } } ฟังก์ชั่น MM_reloadPage1(init) { if (init==true) ด้วย (เนวิเกเตอร์) {if ((appName=="Netscape")&&(parseInt(appVersion)==4 )) { document.MM_pgW=innerWidth; document.MM_pgH=ความสูงด้านใน; onresize=MM_reloadPage1; }} อื่น ๆ ถ้า (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage1(true) if (navigator.appName == "Netscape") { document.write("<layer id=myleft1 top=300 width=100 height=100>"); var x=Math.random(); var i=Math.round(x*2-0.5); ถ้า (i==0) { document.write("<a href=/rd.php?pid=1&tag=hp_ad_popunder&tgt=http://click.pchome.net/?urlid=501 target=_blank><img src= /u/info_img/2009-06/20/msi_100x100.gif border=0></a>"); } ถ้า (i==1) { document.write("<a href=/rd.php?pid=1&tag=hp_ad_popunder&tgt=http://click.pchome.net/?urlid=500 target=_blank><img src =/u/info_img/2009-06/20/msi_1_100x100.gif border=0></a>"); } document.write("</layer>"); myload1() } else { document.write("<div id=myleft1 style='position: Absolute;width:100;top:200;left:20;visibility: มองเห็นได้;z-index: 1'>"); var x=Math.random(); var i=Math.round(x*2-0.5); ถ้า (i==0) { document.write("<a href=#><img src= border=0></a>"); } ถ้า (i==1) { document.write("<a href=#><img src= border=0></a>"); } document.write("</div>"); myload1() } //--> </script> <br/><br/><br/><br/><br/><br/><br/><br/><br/>< br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/ <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>< br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/ <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>< br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/ <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>< br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/ <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>< br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>