한국어
<!-- 把如下代码加入<body>区域中 --> <!-- http://bbs.downcodes.com --> <!--脚本说明: 第一步:把如下代码加入<head>区域中--> <Script Language="JavaScript"> <!-- 함수 시작 display_image(form) { Selectionname = form.imagename.options[form.imagename.selectedIndex].text; 선택 = form.imagename.options[form.imagename.selectedIndex].value; PreView = window.open("", "미리보기", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizing=0,copyhistory=0,width=360, 높이=440 왼쪽=0 위쪽=0"); PreView.document.open(); PreView.document.write("<HTML><HEAD>"); PreView.document.write("<TITLE>미리보기</TITLE>"); PreView.document.write("</HEAD><BODY BGCOLOR=FFFFFF TEXT=000000>"); PreView.document.write("<FORM><CENTER><B><FONT SIZE=+1>" + 선택 이름 + "</FONT></B><HR>"); PreView.document.write("<IMG HSPACE=0 VSPACE=0 " + "SRC='" + 선택 + "'>"); PreView.document.write("<HR><FORM><INPUT TYPE='button' VALUE='关闭窗口' " + "onClick='window.close()'></FORM>"); PreView.document.write("</CENTER>"); PreView.document.write("</BODY></HTML>"); PreView.document.close(); } // 끝 --> </SCRIPT> <!--第二步:把如下代码加入<body>区域中--> <FORM> <select NAME="imagename" onChange="display_image(this.form) "> <옵션 값="" 선택>사진 <옵션 값="/u/info_img/2009-06/20/5980_logo.gif">사진일 <옵션 값="/u/info_img/2009-06/ 20/5980_logo.gif">사진 2 <옵션 값="">사진 3 <옵션 값="">사진 4 <옵션 값="">사진 5 <옵션 값="">사진六 <옵션 값=" ">사진七 </select> </FORM>