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


   Navigation Bar Tabs Example #4

Apycom Java Applets

   This example demonstrates:

  • Javascript calls. For more info see "Javascript tips"
  • Line wrapping
  • Text aligned to left
  • Default selected tab not defined, but the toggle mode is active (pressedItem=0)
  • Tab type 2 - bold borders

   HTML Source

<applet Code=apTabMenu.class Width=572 Height=30 MAYSCRIPT>
<a href=http://www.apycom.com>Apycom Java Applets</a>
<param name="Copyright" value="Apycom.com">
<param name="bottomLine" value="false">
<param name="pressedItem" value="0">
<param name="tabType" value="2"> 
<param name="backColor" value="d0f0d0">
<param name="tabColor" value="e0ffe0">
<param name="tabHighColor" value="b0d0b0">
<param name="fontColor" value="707060">
<param name="fontHighColor" value="ffffff">
<param name="alignText" value="left"> 
<param name="font" value="TimesRoman,11,1">
<param name="menuItems" value="
{Message box,javascript:alert('Hello world!'),_}
{Confirmation\dialog,javascript:confirm('Do you want to confirm?'),_}
{Open 'JS Tips'\in 680x600 window,
{Open 'JS Tips'\in 300x200 window,
{Launch js\function,javascript:my_js_function(),_}

<script language="Javascript">
function my_js_function()
    alert('Click to continue...');
    if (confirm('Do you want to open two small windows?'))

How to setup the menu


<< Previous Example Example Index Next Example >>

Copyright (c) 1998-2009, Apycom Software