<FORM>
<P>
<BR>
Selectyourfavoritecolor:<SELECTonchange=location.href=this.options[selectedIndex].value:値>
<OPTIONvalue:値=index.htm?redselected>
Red</OPTION>
<OPTIONvalue:値=index.htm?blue>
Blue</OPTION>
<OPTIONvalue:値=index.htm?green>
Green</OPTION>
</SELECT>
</P>
</FORM>
<SCRIPTlanguage=JavaScript>
<!--varlogo=newArray("a.gif","b.gif","c.gif");varbcol=newArray("#FFE0E0","#D0E0FF","#E0FFE0");vartcol=newArray("#CE3952","#5273CE","#42B57B");tag="<IMGSRC='";if(location.search=="?red"){tag+=logo[0];document.bgColor=bcol[0];document.fgColor=tcol[0];}elseif(location.search=="?blue"){tag+=logo[1];document.bgColor=bcol[1];document.fgColor=tcol[1];}elseif(location.search=="?green"){tag+=logo[2];document.bgColor=bcol[2];document.fgColor=tcol[2];}else{tag+=logo[0];document.bgColor=bcol[0];document.fgColor=tcol[0];}tag+="'WIDTH=320HEIGHT=77ALT='HTMLTIPS&TRICKS'>
";document.write(tag);//-->
</SCRIPT>