In this example, the scroll text is loaded from a separate file.
This is a useful feature when you update the text often.
<applet code="ET_TextScroll.class" width="140"
height="90">
<!-- The text message is read from this separate file -->
<param name="InputFile" value="TextInput.txt">
<!-- Border color. No border if not specified.-->
<param name="BorderColor" value="000000">
<!-- The color of the background and the text.-->
<param name="BGColor" value="404080">
<param name="TextColor" value="ffffff">
<param name="HeaderColor" value="ffffb0">
<param name="URLColor" value="ffffb0">
<param name="URLOver" value="ff7777">
<param name="URLClick" value="aa6666">
<!-- Url underline -->
<param name="URLUnderline" value="true">
<!-- Fonts -->
<param name="TextFont" value="TimesRoman">
<param name="TextStyle" value="plain">
<param name="TextSize" value="13">
<param name="HeaderFont" value="Courier">
<param name="HeaderStyle" value="bold">
<param name="HeaderSize" value="15">
<!-- Geometry -->
<param name="Margin" value="5">
<param name="Align" value="Left">
<!-- Scroll speed -->
<param name="ScrollDelay" value="30">
<param name="ScrollMove" value="15">
</applet>
The source shown above is not exactly the same as for the example,
as it assumes that the class files are in the same directory as the
html file. The source above also assumes an unregistered applet as
it does not have the NumericalKey parameter (this removes the
intro text in the applet).
|