代码说明:
[程序语言] IE3, IE4, IE5, NS3, NS4+
[功能描述] 一个彩色菜单小程序,具有鼠标移动效果,可以配置参数,是学习Java的好素材。
样本HTML文档内容:
<applet code="colormenu.class" width=120 height=152>
<param name = "text1" value ="JavaBoutique">
<param name = "text2" value ="Categories">
<param name = "text3" value ="By Name">
<param name = "text4" value ="By Date">
<param name = "text5" value ="Archive">
<param name = "link1" value ="http://javaboutique.internet.com">
<param name = "link2" value ="http://javaboutique.internet.com/cathome.html">
<param name = "link3" value ="http://javaboutique.internet.com/applet_index/">
<param name = "link4" value ="http://javaboutique.internet.com/byDate/">
<param name = "link5" value ="http://javaboutique.internet.com/stats/archive.html">
<param name = "background_color" value ="000,000,000">
<param name = "selection_color" value ="000,250,250">
<param name = "text_color" value ="200,200,300">
<param name = "border_color" value ="0,2,1">
<param name = "fade_color" value ="0,1,0">
<param name = "fontsize" value ="12">
<param name = "fontface" value ="Century Gothic">
<param name = "target" value ="aktion">
</applet>
【立即下载】
|