Description: To include PopMenu in a
web page, you should copy the PopMenu.class and
PopBtn.class files into the same directory as the web
page and then insert the applet tag into the page.
The following parameters can be passed to Popmenu:
- "labelpos"
- This default position for labels (can be
"right" or "below").
- "frame"
- This target frame that links will be aimed at.
- "srcn"
- This image file to use on button n.
- "textn"
- This text to use on button n.
- "hrefn"
- This URL connected to button n.
HTML code of the applet:
<applet code="PopMenu" width=400
height=29>
<param name="labelpos"
value="right">
<param name="frame"
value="display">
<param name="src0"
value="ball1.gif">
<param name="text0"
value="Home">
<param name="href0"
value="index.htm">
<param name="src1"
value="ball1.gif">
<param name="text1" value="This
Week..">
<param name="href1"
value="thisweek.htm">
<param name="src2"
value="ball1.gif">
<param name="text2"
value="Gallery">
<param name="href2"
value="spigots.htm">
<param name="src3"
value="ball1.gif">
<param name="text3"
value="Forums">
<param name="href3"
value="forums.htm">
<param name="src4"
value="ball1.gif">
<param name="text4"
value="Beginners">
<param name="href4"
value="beginners.htm">
<param name="src5"
value="ball1.gif">
<param name="text5"
value="Programming">
<param name="href5"
value="programming.htm">
</applet>
|