ET Fade Text - Example



Next applet

The code for the lower left applet:

<applet code="ET_FadeText.class" width="180" height="70">

<!--Default values.-->
<param name="B-d-TextFont" value="Helvetica">
<param name="B-d-TextSize" value="40">

<!--StartDelay can be used to synchronize the applets.-->
<param name="B-1-StartDelay" value="3000">

<!--The fade.-->
<param name="B-1-TextToColor" value="ffff55">
<param name="B-1-FadeTime" value="400">
<param name="B-2-TextToColor" value="cccccc">
<param name="B-2-FadeTime" value="300">
<param name="B-3-TextToColor" value="000000">
<param name="B-3-FadeTime" value="1200">

<!--The text item.-->
<param name="B-1-Text" value="Alive?">

<!--The applet background color.-->
<param name="BGColor" value="000000">

<!--Run once.-->
<param name="Repeat" value="false">

</applet>

The code for the center applet:

<applet code="ET_FadeText.class" width="180" height="70">

<!--Default values.-->
<param name="B-d-Text" value="Curious?">
<param name="B-d-TextFont" value="Helvetica">
<param name="B-d-TextSize" value="40">
<param name="B-d-URL" value="Link.html">
<param name="B-d-URLText" value="Click the text.">

<!--StartDelay can be used to synchronize the applets.-->
<param name="B-1-StartDelay" value="6000">

<!--The fade.-->
<param name="B-1-TextToColor" value="ffffff">
<param name="B-1-FadeTime" value="3000">
<param name="B-2-TextToColor" value="ffff55">
<param name="B-2-FadeTime" value="3000">
<param name="B-3-TextToColor" value="ff5555">
<param name="B-3-FadeTime" value="3000">
<param name="B-4-TextToColor" value="ffffff">
<param name="B-4-FadeTime" value="3000">

<!--The applet background color.-->
<param name="BGColor" value="000000">

<!--Run once.-->
<param name="Repeat" value="false">

</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.