Français
<!-- 把如下代码加入<body>区域中 --> <!-- http://bbs.downcodes.com --> <!--脚本说明: 第一步:把如下代码加入<head>区域中--> <Script Language="JavaScript"> <!-- Begin function display_image(form) { selectionname = form.imagename.options[form.imagename.selectedIndex].text; sélection = form.imagename.options[form.imagename.selectedIndex].value; PreView = window.open("", "Aperçu", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizing=0,copyhistory=0,width=360, hauteur=440 gauche=0 haut=0"); PreView.document.open(); PreView.document.write("<HTML><HEAD>"); PreView.document.write("<TITLE>Aperçu</TITLE>"); PreView.document.write("</HEAD><BODY BGCOLOR=FFFFFF TEXT=000000>"); PreView.document.write("<FORM><CENTER><B><FONT SIZE=+1>" + nom de la sélection + "</FONT></B><HR>"); PreView.document.write("<IMG HSPACE=0 VSPACE=0 " + "SRC='" + sélection + "'>"); 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(); } // Fin --> </SCRIPT> <!--第二步:把如下代码加入<body>区域中--> <FORM> <select NAME="imagename" onChange="display_image(this.form) "> <option value="" SELECTED>请选择相片 <option value="/u/info_img/2009-06/20/5980_logo.gif">相片一 <option value="/u/info_img/2009-06/ 20/5980_logo.gif">Photo <option value="">Photo <option value="">Photo <option value="">Photo <option value="">Photo <option value="" ">Photos </select> </FORM>