apPopupMenu Example #2
This example demonstrates:
- Applet's 3D border
- Item icons -
- Menu structure loads from "menu1.txt" file
- Disabled items - target parameter equals "_"
- Solid arrows
- Button type 0 ("no buttons")
- Separators
- Vertical menu direction
HTML Source
<applet Code="apPopupMenu" Archive="apPopupMenu.jar" Width = "115" Height = "134">
<param name="Copyright" value="Apycom Software - www.apycom.com">
<param name="isHorizontal" value="false">
<param name="3DBorder" value="true">
<param name="systemSubFont" value="true">
<param name="solidArrows" value="true">
<param name="buttonType" value="0">
<param name="status" value="link">
<param name="alignText" value="left">
<param name="backColor" value="c0c0c0">
<param name="backHighColor" value="000080">
<param name="fontColor" value="000000">
<param name="fontHighColor" value="FFFFFF">
<param name="font" value="Arial,11,0">
<param name="menuItemsFile" value="menu1.txt">
</applet>
menu1.txt
{Apycom,pix/home.gif}
{|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,pix/progs.gif}
{|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,testlink.html,_self,pix/setup.gif}
{Examples,testlink.html,_self,pix/help.gif}
{Download,http://www.apycom.com/download/apmenu.zip,_,pix/run.gif}
{-}
{Contact,mailto:support@apycom.com,_self,pix/mail.gif}
|