apPopupMenu Example #8
This example demonstrates:
- Ability to load the menu structure from an external file "menu3.txt"
- 3D text effects (normal and mouseover text shadow)
- 3D arrows
- System font for submenus
- Disabled items
- Button type 2
- Separators
- Horizontal menu direction
HTML Source
<applet Code=apPopupMenu Archive=apPopupMenu.jar Width=500 Height=20 MAYSCRIPT>
<param name="Copyright" value="Apycom Software - www.apycom.com">
<param name="isHorizontal" value="true">
<param name="systemSubFont" value="true">
<param name="solidArrows" value="false">
<param name="buttonType" value="2">
<param name="status" value="link">
<param name="alignText" value="left">
<param name="backColor" value="cc6666">
<param name="backHighColor" value="cccc66">
<param name="fontColor" value="ffffff">
<param name="fontHighColor" value="000000">
<param name="shadowColor" value="000000">
<param name="shadowHighColor" value="FFFFFF">
<param name="font" value="Arial,11,1">
<param name="menuItemsFile" value="menu3.txt">
</applet>
menu3.txt
{Apycom}
{|Home,http://www.apycom.com,_blank}
{|-}
{|apMenu Home,_,_}
{|apButtonMenu Home,_,_}
{|apPopupMenu Home,testlink.html,_self}
{|apImageMenu Home,_,_}
{|-}
{|Download,testlink.html,_self}
{|-}
{|Contact,testlink.html,_self}
{-}
{apMenus}
{|apMenu,_,_}
{|apButtonMenu,_,_}
{|apPopupMenu}
{||Examples}
{|||Example #1,testlink.html,_self}
{|||Example #2,testlink.html,_self}
{|||Example #3,testlink.html,_self}
{|||Example #4,testlink.html,_self}
{|||Example #5,testlink.html,_self}
{||Main parameters}
{|||backColor,testlink.html,_self}
{|||backHighColor,testlink.html,_self}
{|||fontColor,testlink.html,_self}
{|||fontHighColor,testlink.html,_self}
{|||font,testlink.html,_self}
{|||menuItems,testlink.html,_self}
{|apImageMenu,_,_}
{-}
{Parameters}
{|backColor,testlink.html,_self}
{|backHighColor,testlink.html,_self}
{|fontColor,testlink.html,_self}
{|fontHighColor,testlink.html,_self}
{|font,testlink.html,_self}
{|menuItems,testlink.html,_self}
{-}
{Examples}
{|Example #1,testlink.html,_self}
{|Example #2,testlink.html,_self}
{|Example #3,testlink.html,_self}
{|Example #4,testlink.html,_self}
{|Example #5,testlink.html,_self}
{-}
{Contact,mailto:support@apycom.com,_self}
|