Apycom Software Home apButtonMenu Example #12  
Apycom Home Applets' Home Order Applets Download FAQ Contact
Previous Example Index Next
Parameters Frame Example Javascript Tips Applet Index

 

apButtonMenu Example #12

Click here to set "Apycom Software" item to the pressed state...
Click here to set "Menu Applets" item to the pressed state...
Click here to set "Contact Us" item to the pressed state...
Click here to unpress items...

This example demonstrates:

  • Using javascript to dynamically change the menu by calling public functions, see also javascript tips
  • Word wrapping
  • Text aligned to right
  • 3D text effect (mouseover text shadow)
  • Button type 0
  • Separators
  • Horizontal menu direction

HTML Source

<applet name=apbtn Code=apButtonMenu Archive=apButtonMenu.jar Width=515 Height=31 MAYSCRIPT>
<param name="Copyright" value="Apycom Software - www.apycom.com">
<param name="isHorizontal" value="true">
<param name="pressedItem" value="0">
<param name="3Dborder" value="false">
<param name="alignText" value="right">
<param name="buttonType" value="0"> 
<param name="backColor" value="000080">
<param name="backHighColor" value="ffffff">
<param name="fontColor" value="ffffff">
<param name="fontHighColor" value="000000">
<param name="shadowHighColor" value="cccccc">
<param name="font" value="Arial,11,1">
<param name="menuItems" value="
       {Apycom\Software,testlink.html,_self}
       {-}
       {Menu\Applets,testlink.html,_self}
       {-}
       {Main\Parameters,testlink.html,_self}
       {-}
       {Optional\Parameters,testlink.html,_self}
       {-}
       {Examples,testlink.html,_self}
       {-}
       {Contact\Us,testlink.html,_self}
       {-}
       {Order\Applets,testlink.html,_self}
       ">
</applet>

<a href="javascript:document.apbtn.setPressedItem(1)">
Click here to set "Apycom Software" item to the pressed state...</a>
<a href="javascript:document.apbtn.setPressedItem(3)">
Click here to set "Menu Applets" item to the pressed state...</a>
<a href="javascript:document.apbtn.setPressedItem(11)">
Click here to set "Contact Us" item to the pressed state...</a>
<a href="javascript:document.apbtn.setPressedItem(0)">
Click here to unpress items...</a>

 

Previous Example Example Index Next Example

Copyright (c) 1998-2002, Apycom Software