apPopupMenu Example #3
This example demonstrates:
- Unlimited number of submenus feature - "Depth test" item has 12 sublevels
- Ability to load the menu structure from an external file "menu2.txt"
- Mouseover text with shadow
- Word wrapping - new line starts with "\" symbol
- Font for submenus is the same as for top menu
- Support for iternational character sets - encoding=Cp1253 (see Encoding table)
- User defined browser's status string
- User defined loading message
- Mouse over sound
- Solid arrows
- Button type 1
- Separators
- Horizontal menu direction
HTML Source
<applet Code="apPopupMenu" Archive="apPopupMenu.jar" Width = "400" Height = "55">
<param name="Copyright" value="Apycom Software - www.apycom.com">
<param name="isHorizontal" value="true">
<param name="statusString" value="Navigate my site using this menu!">
<param name="systemSubFont" value="false">
<param name="overSound" value="pix/bell.au">
<param name="buttonType" value="1">
<param name="solidArrows" value="true">
<param name="alignText" value="center">
<param name="backColor" value="d0d0d0">
<param name="backHighColor" value="b0b0b0">
<param name="fontColor" value="000000">
<param name="fontHighColor" value="FFFFFF">
<param name="shadowHighColor" value="000000">
<param name="font" value="TimesRoman,12,2">
<param name="loadingString" value="Data loading...">
<param name="encoding" value="Cp1253">
<param name="menuItemsFile" value="menu2.txt">
</applet>
menu2.txt
{Apycom\Software}
{|Home,http://www.apycom.com,_blank}
{|-}
{|Download,testlink.html,_self}
{|-}
{|Contact,testlink.html,_self}
{-}
{apMenus}
{|apMenu Home,testlink.html,_self}
{|apPopupMenu Home,testlink.html,_self}
{|apButtonMenu Home,testlink.html,_self}
{|apImageMenu Home,testlink.html,_self}
{Depth test\This item has\12 sublevels}
{|Level 1 Link 1,testlink.html,_self}
{|Level 1 Link 2,testlink.html,_self}
{|Level 1 Link 3,testlink.html,_self}
{|Next level}
{||Level 2 Link 1,testlink.html,_self}
{||Level 2 Link 2,testlink.html,_self}
{||Level 2 Link 3,testlink.html,_self}
{||Next level}
{|||Level 3 Link 1,testlink.html,_self}
{|||Level 3 Link 2,testlink.html,_self}
{|||Level 3 Link 3,testlink.html,_self}
{|||Next level}
{||||Level 4 Link 1,testlink.html,_self}
{||||Level 4 Link 2,testlink.html,_self}
{||||Level 4 Link 3,testlink.html,_self}
{||||Next level}
{|||||Level 5 Link 1,testlink.html,_self}
{|||||Level 5 Link 2,testlink.html,_self}
{|||||Level 5 Link 3,testlink.html,_self}
{|||||Next level}
{||||||Level 6 Link 1,testlink.html,_self}
{||||||Level 6 Link 2,testlink.html,_self}
{||||||Level 6 Link 3,testlink.html,_self}
{||||||Next level}
{|||||||Level 7 Link 1,testlink.html,_self}
{|||||||Level 7 Link 2,testlink.html,_self}
{|||||||Level 7 Link 3,testlink.html,_self}
{|||||||Next level}
{||||||||Level 8 Link 1,testlink.html,_self}
{||||||||Level 8 Link 2,testlink.html,_self}
{||||||||Level 8 Link 3,testlink.html,_self}
{||||||||Next level}
{|||||||||Level 9 Link 1,testlink.html,_self}
{|||||||||Level 9 Link 2,testlink.html,_self}
{|||||||||Level 9 Link 3,testlink.html,_self}
{|||||||||Next level}
{||||||||||Level 10 Link 1,testlink.html,_self}
{||||||||||Level 10 Link 2,testlink.html,_self}
{||||||||||Level 10 Link 3,testlink.html,_self}
{||||||||||Next level}
{|||||||||||Level 11 Link 1,testlink.html,_self}
{|||||||||||Level 11 Link 2,testlink.html,_self}
{|||||||||||Level 11 Link 3,testlink.html,_self}
{|||||||||||Next level}
{||||||||||||Level 12 Link 1,testlink.html,_self}
{||||||||||||Level 12 Link 2,testlink.html,_self}
{||||||||||||Level 12 Link 3,testlink.html,_self}
{-}
{Greek test\áâãäåÁÂÃÄÅ}
{|Greek test - áâãäåÁÂÃÄÅ (requires appropriate OS/browser),testlink.html,_self}
|