ET Text Scroll - Example



Next example

In this example, you can see how the input can be red from an external file. This is very usefull if you update the scrolling text often. You can also see above how you can link to new input files within the applet!

<applet code="ET_TextScroll.class" width="180" height="130">

<!-- The text message is read from this separate file -->
<param name="InputFile" value="TextInput1.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="383a4a">
<param name="TextColor" value="ffffff">
<param name="HeaderColor" value="ffff99">
<param name="URLColor" value="ffff99">
<param name="URLOver" value="ff8844">
<param name="URLClick" value="ff0000">

<!-- 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="Ariel">
<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).


© 1997-2000 Entanke. Visit us at http://www.entanke.se/ for more information.