代码说明:
[程序语言] IE3, IE4, IE5, NS3, NS4+
[功能描述] 该程序循环显示一系列的文字信息,每个文字信息带有相应的链接。调用该程序的HTML内容:
<applet code="Banner3.class" width=520 height=35>
<param name=cattext0
value="Applets">
<param name=catbgcolor0
value="204,0,0">
<param name=cattextcolor0
value="255,102,102">
<param name=msgtext0
value="Visit the Applets Page">
<param name=TextURL0
value="http://javaboutique.internet.com/applets/">
<param name=cattext1
value="Servlets">
<param name=catbgcolor1
value="153,51,51">
<param name=cattextcolor1
value="204,153,153">
<param name=msgtext1
value="Visit the Servlets Page">
<param name=TextURL1
value="http://javaboutique.internet.com/servlets/">
<param name=cattext2
value="Applications">
<param name=catbgcolor2
value="102,102,102">
<param name=cattextcolor2
value="153,204,204">
<param name=msgtext2
value="Visit the Applications Page">
<param name=TextURL2
value="http://javaboutique.internet.com/applications/">
<param name=MessageNo
value="3">
<param name=catwidth
value="150">
<param name=font
value="Verdana">
<param name=speed
value="20">
<param name=fontsize
value="24">
<param name=pauseDelay
value="4000">
<param name=fontstyle
value="Bold">
<param name=msgbgcolor
value="255,255,255">
<param name=linkcolor
value="255,153,153">
<param name=msgtextcolor
value="255,51,51">
<param name=dist
value="1">
<param name=direction
value="TopBottom">
<param name=align
value="Center">
You'd see my applet if you had a Java-capable browser
</applet>
【立即下载】
|