ET Subject Ticker - Example

Next example

This example illustrates how you can use the parameters to format the visual appearance of the applet.

<applet code="ET_SubjectTicker.class" width="510" height="30">

<!--The file where the messages can be found.-->
<param name="InputFile" value="Input.txt">

<!--The color of the background while the input file is loading.-->
<param name="BGLoadingColor" value="000000">

<!--Border parameters.-->
<!--The border will highlight when the mouse moves over a message with a URL.-->
<param name="BorderColor" value="000000">
<param name="BorderColorOver" value="3333ff">
<param name="BorderColorClick" value="ff3333">
<param name="BorderThickness" value="2">

<!--Headline align can be left or center.-->
<param name="HeadlineAlign" value="left">

<!--Default ticker pause.-->
<param name="HeadlinePause" value="4000">

<!--Default ticker colors.-->
<param name="SubjectBGColor" value="ff6000">
<param name="SubjectColor" value="ffffff">
<param name="HeadlineBGColor" value="ffc860">
<param name="HeadlineColor" value="000000">

<!--Text formatting.-->
<param name="SubjectFont" value="Helvetica">
<param name="SubjectStyle" value="bold">
<param name="SubjectSize" value="15">
<param name="HeadlineFont" value="Helvetica">
<param name="HeadlineStyle" value="plain">
<param name="HeadlineSize" 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.