Apycom Software Home XP Web Buttons Example #4  
Apycom Home Web Buttons Purchase Download FAQ
<< Prev Example Index Next >>
Parameters Frame Example Javascript Tips Menu Index


XP Web Buttons Example #4

Apycom Java Applets

This example demonstrates:

  • Javascript calls. For more info see "Javascript tips"
  • Item icons -
  • Word wrapping - new line starts with "\" symbol
  • Menu's 3D border
  • Button type 2
  • Separators
  • Vertical menu direction
  • Text aligned to left

HTML Source

<applet Code=apXPButtonMenu.class Width=170 Height=195 MAYSCRIPT>
<a href=http://www.apycom.com>Apycom Java Applets</a>
<param name="Copyright" value="Apycom.com">
<param name="isHorizontal" value="false">
<param name="3DBackground" value="false">
<param name="buttonType" value="2">
<param name="status" value="link">
<param name="alignText" value="left">
<param name="backColor" value="cceecc">
<param name="buttonColor" value="aaccaa">
<param name="fontColor" value="000000">
<param name="fontHighColor" value="ffffff">
<param name="font" value="Arial,11,0">
<param name="menuItems" value="
{Click to call message box,javascript:alert('Hello world!'),_,pix/new-31.gif}
{Click to call confirmation,javascript:confirm('Do you want to confirm?'),_,pix/new-31.gif}
{Click to open \'Javascript Tips'\page in 680x600\window,
{Open 'Javascript Tips' page\in 300x200 window,
{Launch javascript function,javascript:my_js_function(),_,pix/new-31.gif}

How to setup the menu


<< Previous Example Example Index Next Example >>

Copyright (c) 1998-2009, Apycom Software