This example demonstrates:

  • Toggle mode - click any menu item to see toggle effect
  • Default highlighted item #3 (pressedItem=5 including separators)
  • Using XP Drop Down Menu with frames
  • 3D text effects (normal and mouseover text shadow)
  • XP arrows
  • System font for submenus
  • Disabled items
  • Button type 0
  • Separators
  • Horizontal menu direction

HTML Source

<applet Code=apXPDropDown.class Width=520 Height=20 MAYSCRIPT>
<a href=http://www.apycom.com>Apycom Java Applets</a>
<param name="Copyright" value="Apycom.com">
<param name="isHorizontal" value="true">
<param name="systemSubFont" value="true">
<param name="solidArrows" value="false">
<param name="3DBackground" value="false">
<param name="alignText" value="center">
<param name="buttonType" value="0">
<param name="pressedItem" value="5">
<param name="status" value="link">
<param name="backColor" value="bb4444">
<param name="fontColor" value="ffffff">
<param name="shadowColor" value="440000">
<param name="shadowHighColor" value="666600">
<param name="font" value="Arial,11,1">
<param name="menuItems" value="
   {Apycom}
   {|Test link #1,pix/ex1tst.html,main_wnd}
   {|-}
   {|Test link #2,pix/ex2tst.html,main_wnd}
   {|-}
   {|Test link #3,pix/ex3tst.html,main_wnd}
   {|-}
   {|Test link #4,pix/ex4tst.html,main_wnd}
   {|-}
   {|More links...}
   {||Test link #5,pix/ex5tst.html,main_wnd}
   {||Test link #6,pix/ex6tst.html,main_wnd}
   {-}
   {apMenus}
   {|Test link #7,pix/ex7tst.html,main_wnd}
   {|Test link #8,pix/ex8tst.html,main_wnd}
   {|Test link #9,pix/ex9tst.html,_}
   {|Test link #10,pix/ex10tst.html,_}
   {|-}
   {|Example #8,ex8main.html,main_wnd}
   {|Download,pix/exdnl.html,main_wnd}
   {|Contact,pix/excnt.html,main_wnd}
   {-}
   {Example #8,ex8main.html,main_wnd}
   {-}
   {Parameters}
   {|Test link #9,pix/ex9tst.html,main_wnd}
   {|Test link #10,pix/ex10tst.html,main_wnd}
   {|More links...}
   {||Test link #5,pix/ex5tst.html,main_wnd}
   {||Test link #6,pix/ex6tst.html,main_wnd}
   {-}
   {Download,pix/exdnl.html,main_wnd}
   {-}
   {Contact,pix/excnt.html,main_wnd}
   ">
</applet>

How to setup the menu

 

<< Previous Example Example Index Next Example >>


HTML Buttons | Dhtml Drop Menu | Web Drop Down Menu | Javascript Navigation Menu | ajax gallery
Copyright (c) 1998-2009, Apycom Software