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


apMenu Example #4

This example demonstrates:

  • Javascript calls. For more info see "Javascript tips"
  • Tiled background -
  • Fade type 9
  • Vertical menu direction
  • Text aligned to center

HTML Source

<applet Code=apMenu Archive=apMenu.jar Width=245 Height=140 MAYSCRIPT>
<param name="Copyright" value="Apycom Software - www.apycom.com">
<param name="isHorizontal" value="false">
<param name="backPic" value="pix/java.gif">
<param name="fadeDelay" value="20">
<param name="fadeSteps" value="40">
<param name="fadeType" value="9">
<param name="alignText" value="center">
<param name="backColor" value="ffffff">
<param name="backHighColor" value="aaaaff">
<param name="fontColor" value="800000">
<param name="fontHighColor" value="0000ff">
<param name="font" value="Arial,11,1">
<param name="menuItems" value="
            {Apycom Software,testlink.html,_self}
            {Click to call message box,javascript:1,_}
            {Click to call confirmation dialog,javascript:2,_}
            {Open 'Javascript Tips' in 680x600 window,javascript:3,_}
            {Open 'Javascript Tips' in 300x200 window,javascript:4,_}
            {Launch javascript function,javascript:5,_}
<param name="javascript:1" value="alert('Hello world!')">
<param name="javascript:2" value="confirm('Do you want to confirm?')">
<param name="javascript:3" value="open('javascript.html','_blank','width=680,height=600')">
<param name="javascript:4" value="open('javascript.html','_blank','width=300,height=200')">
<param name="javascript:5" value="my_js_function()">


Previous Example Example Index Next Example

Copyright (c) 1998-2001, Apycom Software