Here
is an example of how the HTML should look with an explanation of each line
on the right. |
<APPLET CODE="SIRtext.class" WIDTH=150 HEIGHT=200> |
The APPLET tag defining the size of the Applet and the Applet to use. |
<PARAM NAME="TITLE" VALUE="My Title"> |
Set the Title to My Title |
<PARAM NAME="TITLEFONT" VALUE="1"> |
This means use the font defined by parameter FONT1 for the title. |
<PARAM NAME="TITLECOLOR" VALUE="2"> |
The number of the Color to use for the Title text. |
<PARAM NAME="BGCOLOR" VALUE="3"> |
The number of the Color to use for the background. |
<PARAM NAME="BORDERWIDTH" VALUE="1"> |
Set the width of the Border to 1 pixel, 0 means no border. |
<PARAM NAME="BORDERCOLOR" VALUE="2"> |
Set the Border color to the Color defined by parameter Color2 |
<PARAM NAME="SCROLLSPEED" VALUE="70"> |
Set the Scroll speed to 70. |
<PARAM NAME="DISPLAYTIME" VALUE="250"> |
Set the Display time to 250 |
<PARAM NAME="MAXLINES" VALUE="10"> |
Set the Maximum lines to 10 |
<PARAM NAME="FONT1" VALUE="Helvetica|B|14"> |
Define font 1 as Style=Helvetica, Size=14,BOLD |
<PARAM NAME="FONT2" VALUE="Helvetica|N|10"> |
Define font 2 as Style=Helvetica, Size=10,NORMAL |
<PARAM NAME="FONT3" VALUE="Courier|B|10"> |
Define font 3 as Style=Courier, Size=10,BOLD |
<PARAM NAME="FONT4" VALUE="Courier|B|18"> |
Define font 4 as Style=Courier, Size=18,BOLD |
<PARAM NAME="Color1" VALUE="150|150|150"> |
Define RGB for Color 1 |
<PARAM NAME="Color2" VALUE="0|0|0"> |
Define RGB for Color 2 |
<PARAM NAME="Color3" VALUE="120|190|190"> |
Define RGB for Color 3 |
<PARAM NAME="Color4" VALUE="150|220|220"> |
Define RGB for Color 4 |
<PARAM NAME="Color5" VALUE="0|0|0"> |
Define RGB for Color 5 |
<PARAM NAME="Color6" VALUE="90|160|160"> |
Define RGB for Color 6 |
<PARAM NAME="Color7" VALUE="247|156|57"> |
Define RGB for Color 7 |
<PARAM NAME="Color8" VALUE="27|162|67"> |
Define RGB for Color 8 |
<PARAM NAME="Color9" VALUE="248|168|77"> |
Define RGB for Color 9 |
<PARAM NAME="Color10" VALUE="255|255|255"> |
Define RGB for Color 10 |
<PARAM NAME="TEXTLINE1" VALUE="2|2|LINE 1"> |
Text for line 1 using font 2 and color 2 |
<PARAM NAME="TEXTLINE2" VALUE="1|2|LINE 2"> |
Text for line 2 using font 1 and color 2 |
<PARAM NAME="TEXTLINE3" VALUE="2|8|LINE 3"> |
Text for line 3 using font 2 and color 8 |
<PARAM NAME="TEXTLINE4" VALUE="2|2|LINE 4"> |
Text for line 4 using font 2 and color 2 |
<PARAM NAME="TEXTLINE5" VALUE="2|2|LINE 5"> |
Text for line 5 using font 2 and color 2 |
<PARAM NAME="TEXTLINE6" VALUE="4|2| LINE 6"> |
Text for line 6 using font 4 and color 2 |
<PARAM NAME="TEXTLINE7" VALUE="2|6|LINE 7"> |
Text for line 7 using font 2 and color 6 |
<PARAM NAME="TEXTLINE8" VALUE="1|2|LINE 8"> |
Text for line 8 using font 1 and color 2 |
<PARAM NAME="TEXTLINE9" VALUE="2|2|LINE 9"> |
Text for line 9 using font 2 and color 2 |
<PARAM NAME="TEXTLINE10" VALUE="2|2|LINE 10"> |
Text for line 10 using font 2 and color 2 |
</APPLET> |
Then end APPLET tag. |