Apycom Software Home Website Buttons Example #12  
Apycom Home Website Buttons Home Purchase Download FAQ Templates
<< Prev Example Index Next >>
Parameters Frame Example Javascript Tips Menu Index

 

Website Buttons Example #12

Apycom Java Applets

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.class Width=515 Height=31 MAYSCRIPT>
<a href=http://www.apycom.com>Apycom Java Applets</a>
<param name="Copyright" value="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>

How to setup the menu

 

<< Previous Example Example Index Next Example >>


Floating Menu | Drop Down Menu Script | Domain by IP | CSS3 Menu | jQuery CSS Menu
Copyright (c) 1998-2009, Apycom Software