Javabase LogoExample of changing parameter url
  Home
  Applets
    Menus
    Site Mapping
    Scrollers
    FX Menus
    Image FX
  FAQ
  Register
  Contact
Back to other parameters

 

Example 1
Source menu file
Javabase Applet
Menu source
<?xml version = "1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE Menu PUBLIC "-//Javabase//DTD ToolTipMenu 1.0//EN" "http://www.javabase.co.uk/ToolTipMenu/ToolTipMenu.dtd">
<Menu url="http://www.google.com" gap="2">
   <Item tooltiptext="1st Tooltip" name="First\Item"/>
   <Separator/>
   <Item tooltiptext="2nd Tooltip" name="Item"/>
</Menu>

 

Example 2
Source menu file
Javabase Applet
Menu source
<?xml version = "1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE Menu PUBLIC "-//Javabase//DTD ToolTipMenu 1.0//EN" "http://www.javabase.co.uk/ToolTipMenu/ToolTipMenu.dtd">
<Menu url="http://www.yahoo.com" gap="2">
   <Item tooltiptext="1st Tooltip" name="First\Item"/>
   <Separator/>
   <Item tooltiptext="2nd Tooltip" name="Item"/>
</Menu>
URL
Absolute Links
If you want your menu item to link to another website alltogether then you should enter it's full URL as the value to this parameter
Relative Links
If you want to provide a relative link to another page on the same server, then you may provide links relative to the base directory in which the .html file containing the applet resides.
Javascript
If you want some javascript to be executed when a user clicks on the menuitem then you can specify a value of the form javascript:E for this parameter, where E is some javascript expression to be executed.

 

Back to other parameters