ET Message Menu - Example


Next example

<applet code="ET_MessageMenu.class" width="334" height="35">

<!--Put the sections in a horizontal row.-->
<param name="Direction" value="horizontal">

<!--Center all section within the active area.-->
<param name="S-d-SectionVAlign" value="center">
<param name="S-d-SectionAlign" value="center">

<!--Center the text item and image within all sections (vertically).-->
<param name="S-d-VAlign" value="center">

<!--Set the colors of the backgrounds and the text items.-->
<param name="S-d-BGColor" value="5555cc">
<param name="S-d-BGColorOver" value="aaaa33">
<param name="S-d-BGColorClick" value="888811">
<param name="S-d-TextColor" value="ffffff">
<param name="S-d-TextColorOver" value="ffffff">
<param name="S-d-TextColorClick" value="ffffff">

<!--Create a "button effect" of the sections backgrounds.-->
<param name="S-d-BorderType" value="button">
<param name="S-d-BorderThickness" value="3">

<!--Make place for the border.-->
<param name="S-d-Margin" value="6">

<!--Fix the width of the sections.-->
<param name="S-d-SectionWidth" value="80">

<!--The little bullet image.-->
<param name="S-d-Image" value="Bullet.gif">
<param name="S-d-ImageOver" value="BulletOver.gif">

<!--The text that will be used for the sections.-->
<param name="S-1-Text" value="Crusher">
<param name="S-2-Text" value="Data">
<param name="S-3-Text" value="Geordi">
<param name="S-4-Text" value="Marie">

<!--What page should be loaded when the user clicks on a section.-->
<param name="S-1-URL" value="Crusher.html">
<param name="S-2-URL" value="Data.html">
<param name="S-3-URL" value="Geordi.html">
<param name="S-4-URL" value="Marie.html">

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