笨笨網站超級論壇 (綠色版本)


頁: [1]

#1  圖片選擇 -  (Administrator) 發表於 12-5-2012 12:23

<SCRIPT LANGUAGE="JavaScript">
function loadIndividual(form) {
var gifName = form.individual.options[form.individual.selectedIndex].value
document.thumbnail1.src = gifName
}
</SCRIPT>
<TABLE BORDER=0>
<TR><TD colspan="2">
<IMG SRC="http://bunbun000.com/image/03.gif" NAME="thumbnail1"></TD>
</TR>
<FORM NAME="selections">
<TD>
<SELECT NAME="individual" onChange="loadIndividual(this.form)">
<OPTION VALUE="http://bunbun000.com/image/03.gif">林依晨
<OPTION VALUE="http://bunbun000.com/image/01.gif">楊丞琳
<OPTION VALUE="http://bunbun000.com/image/07.gif">尹恩惠
<OPTION VALUE="http://bunbun000.com/image/02.gif">楊穎
</SELECT>
</TD></FORM></TABLE>





<TABLE border=0>
<TBODY>
<TR>
<TD colSpan=2></TD></TR>
<FORM name=selections>
<TR>
<TD></TD></FORM></TR></TBODY></TABLE>
<P> </P>
<P> </P>
<P> </P>
<P><FONT color=blue>&lt;SCRIPT LANGUAGE="JavaScript"&gt;<BR>function loadIndividual(form) {<BR>var gifName = form.individual.options[form.individual.selectedIndex].value<BR>document.thumbnail1.src = gifName<BR>}<BR>&lt;/SCRIPT&gt;<BR>&lt;TABLE BORDER=0&gt;<BR>&lt;TR&gt;&lt;TD colspan="2" align="center"&gt;<BR>&lt;IMG SRC="</FONT><A href="http://bunbun000.com/image/03.gif"><FONT color=blue>http://bunbun000.com/image/03.gif</FONT></A><FONT color=blue>" NAME="thumbnail1"&gt;&lt;/TD&gt;<BR>&lt;/TR&gt;<BR>&lt;FORM NAME="selections"&gt;<BR>&lt;TD&gt;<BR>&lt;SELECT NAME="individual" onChange="loadIndividual(this.form)"&gt;<BR>&lt;OPTION VALUE="</FONT><A href="http://bunbun000.com/image/03.gif"><FONT color=blue>http://bunbun000.com/image/03.gif</FONT></A><FONT color=blue>"&gt;林依晨<BR>&lt;OPTION VALUE="</FONT><A href="http://bunbun000.com/image/01.gif"><FONT color=blue>http://bunbun000.com/image/01.gif</FONT></A><FONT color=blue>"&gt;楊丞琳<BR>&lt;OPTION VALUE="</FONT><A href="http://bunbun000.com/image/07.gif"><FONT color=blue>http://bunbun000.com/image/07.gif</FONT></A><FONT color=blue>"&gt;尹恩惠<BR>&lt;OPTION VALUE="</FONT><A href="http://bunbun000.com/image/02.gif"><FONT color=blue>http://bunbun000.com/image/02.gif</FONT></A><FONT color=blue>"&gt;楊穎<BR>&lt;/SELECT&gt;<BR>&lt;/TD&gt;&lt;/FORM&gt;&lt;/TABLE&gt;</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><STRONG><FONT color=purple>圖片網址及說明可自行更改</FONT></STRONG></P>

#2  複製上列語法 -  (Administrator) 發表於 25-5-2013 12:20

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<SCRIPT LANGUAGE="JavaScript">
function loadIndividual(form) {
var gifName = form.individual.options[form.individual.selectedIndex].value
document.thumbnail1.src = gifName
}
</SCRIPT>
<TABLE BORDER=0>
<TR><TD colspan="2" align="center">
<IMG SRC="http://bunbun000.com/image/03.gif" NAME="thumbnail1"></TD>
</TR>
<FORM NAME="selections">
<TD>
<SELECT NAME="individual" onChange="loadIndividual(this.form)">
<OPTION VALUE="http://bunbun000.com/image/03.gif">林依晨
<OPTION VALUE="http://bunbun000.com/image/01.gif">楊丞琳
<OPTION VALUE="http://bunbun000.com/image/07.gif">尹恩惠
<OPTION VALUE="http://bunbun000.com/image/02.gif">楊穎
</SELECT>
</TD></FORM></TABLE>
</textarea><br>
<input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="全選">
</form>

<br>

<script type="text/javascript"><!--
google_ad_client = "ca-pub-4078143172638881";
/* 336X280 */
google_ad_slot = "3268225205";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
頁: [1]

Powered by Discuz Simply! 0.54 Released © wxyuan90