Indonesia
<!-- http://bbs.downcodes.com--> <!--完成此效果需要两步 第一步:把下面代码放到<head>区域中--> <SCRIPT LANGUAGE="JavaScript" > <!-- Mulai fungsi ViewImage(form) { ix = form.width.value; iy = bentuk.tinggi.nilai; ifile = form.url.nilai; NS = (dokumen.lapisan) ? 1 : 0; localurl = ifile.indexOf('http://') == -1; if (NS && localurl) ifile = "file:///" + ifile; var menang; var sLebar; var sTinggi; win = window.open("","","width="+ix+",height="+iy+",menubar=no,toolbar=no,top=100,left=100"); if (NS) { sLebar = menang.Lebar Dalam; sTinggi = menang.innerHeight; } else { sWidth = win.document.body.clientWidth; sHeight = win.document.body.clientHeight; } menang.dokumen.open(); win.document.write("<html><head></head><body onBlur=this.close();>"); win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">'); win.document.write("<img src="+ifile+" width=" + ix + " height=" + iy + "></div></body></html>"); win.document.close(); } // Akhir --> </script> <!--第二步:把下面代码放到<body>区域中--> <div align="center"> <nama form=imageform> <nama masukan= tipe url=ukuran file=40> <p> Tinggi: <nama masukan=tinggi tipe=nilai teks="200" ukuran=3> Lebar: <nama masukan=tipe lebar=nilai teks="150" ukuran=3> < p> <input type=button value="Lihat Gambar" onClick="ViewImage(this.form);"> </form> </div>