ET Image Menu - HTML Code


<applet code="ET_ImageMenu.class" width="158" height="161">

<!--The images.-->
<param name="ButtonImage" value="BlueMenu.gif">
<param name="ButtonImageOver" value="BlueMenuOver.gif">
<param name="ButtonImageClick" value="BlueMenuClick.gif">

<!--The over and click image have to be moved down 37 pixels.-->
<param name="ButtonImageOverOffset" value="0,37">

<!--The position and size of the buttons.-->
<param name="B-1-Area" value="0,37,158,25">
<param name="B-2-Area" value="0,67,158,25">
<param name="B-3-Area" value="0,97,158,25">
<param name="B-4-Area" value="0,127,158,25">

<!--Where the pages should be loaded.-->
<param name="B-d-UrlFrame" value="MainFrame">
<param name="B-4-UrlFrame" value="_parent">

<!--What page should be loaded when the user clicks on a button.-->
<param name="B-1-URL" value="HtmlCode.html">
<param name="B-2-URL" value="Description.html">
<param name="B-3-URL" value="ButtonPusher.html">
<param name="B-4-URL" value="../Example4/Example.html">

<!--How the buttons should behave.-->
<param name="B-d-StayPushed" value="true">
<param name="B-4-StayPushed" 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-98 Entanke. Visit us at http://www.entanke.se/ for more information.