Applets by JObjects.net

 
Fugazi Consulting Ltd

    Animated Shuffle Menu

Offline Documentation :

Microsoft Word Document : jonetMenu3.doc (90k)
Text Document : jonetMenu3.txt (15k)

 
Online Documentation :

HTML Example

<applet code="jonetMenu3.class" width=200 height=130>
<param name="forecolor" value="000000">
<param name="foresubcolor" value="000000">
<param name="backcolor" value="FFFFFF">
<param name="buttoncolor" value="D6D3CE">

<param name="fontstyle" value="Helvetica">
<param name="fonttype" value="plain">
<param name="fontsize" value="10">

<param name="speed" value="12">
<param name="buttonheight" value="15">
<param name="buttonwidth" value="50">
<param name="buttonspace" value="3">
<param name="buttonradius" value="0">
<param name="buttontextleft" value="7">
<param name="buttontexttop" value="12">

<param name="menu_1" value="Menu 1">
<param name="menu_2" value="Menu 2">
<param name="menu_3" value="Menu 3">

<param name="menu_1_1" value="sub menu 1/1">
<param name="menu_1_2" value="sub menu 2/1">
<param name="menu_1_3" value="sub menu 3/1">
<param name="menu_1_4" value="sub menu 4/1">
<param name="url_1_1" value="http://www.javaobjects.net/">
<param name="url_1_2" value="http://www.javaobjects.net/">
<param name="url_1_3" value="http://www.javaobjects.net/">
<param name="url_1_4" value="http://www.javaobjects.net/">
<param name="target_1_1" value="_top">
<param name="target_1_2" value="_top">
<param name="target_1_3" value="_top">
<param name="target_1_4" value="_top">

<param name="menu_2_1" value="sub menu 1/2">
<param name="menu_2_2" value="sub menu 2/2">
<param name="url_2_1" value="http://www.javaobjects.net/">
<param name="url_2_2" value="http://www.javaobjects.net/">
<param name="target_2_1" value="_top">
<param name="target_2_2" value="_top">

<param name="menu_3_1" value="sub menu 1/3">
<param name="menu_3_2" value="sub menu 2/3">
<param name="menu_3_3" value="sub menu 3/3">
<param name="url_3_1" value="http://www.javaobjects.net/">
<param name="url_3_2" value="http://www.javaobjects.net/">
<param name="url_3_3" value="http://www.javaobjects.net/">
<param name="target_3_1" value="_top">
<param name="target_3_2" value="_top">
<param name="target_3_3" value="_top">

</applet>
 

Installation and Configuration

Download the class file.  Use the "Buy Now" button above.

Copy the above code (in bold) into your HTML (note, not the content) of your web page, then copy the class file into the same directory.

You can customise your applet by changing the following parameters (some or all of which are optional, i.e. can be omitted) :
 
width
height
Adjust to suit the size of applet you wish to appear on page
forecolor The color of the main menu item text and button outlines. Defaults to black if omitted.
foresubcolor The color of the sub menu item text.  Defaults to black if omitted.
backcolor The background color to the applet.  Defaults to white.
buttoncolor The background color of the buttons.  Defaults to white.
fontstyle Helvetica, TimesRoman or Courier.  Defaults to Helvetica if parameter is omitted
fonttype Plain, Bold, Italic.  Defaults to Bold if parameter is omitted
fontsize The size of the menu text.  Defaults to 11 if omitted
speed The speed of animation.  The higher the number, the faster the animation.
buttonheight The height in pixels of each main menu button option.
buttonwidth The width in pixels of each main menu button option.
buttonspace Optional. Advanced User.  The space in pixels between each menu option. Defaults to 5.
buttonradius The radius on the corner of each button.  0 will result in a perfect rectangle.  Defaults to 10
buttontextleft Optional. Advanced User.  The space in pixels from the left edge of the button to the start of the text. Used for aligning the button text perfectly in the centre of the button.  Defaults to 14.
buttontexttop Optional. Advanced User.  The space in pixels from the top edge of the button to the top of the text. Used for aligning the button text perfectly in the centre of the button.  Defaults to 14.
menu_n The list of main menu texts, where 'n' starts at 1.  You must have at least two main menu texts (buttons). You can have any number of main menu texts (buttons)
menu_n_m The list of sub menu texts, where 'm' starts at 1 (for the first sub menu) and 'n' relates to the main menu text above (menu_n).  You can have a maximum of 10 submenu items per main menu item (minimum 1).
url_n_m The URL to go to if the user selects this sub menu option.  Values 'n' and 'm' relate to the values on menu_n_m.  For each menu_n_m you MUST have a corresponding url_n_m parameter.
target_n_m The target window to open this URL in.  Valid values of _top _self _parent or _blank (see below).  Values 'n' and 'm' relate to the values on menu_n_m.  For each menu_n_m you MUST have a corresponding target_n_m parameter.

Further explanation of the menu_n parameters (an example) :

Say we want a menu with two main menus, where each main menu options has 3 sub menu options.  First we would have our main menu options as follows :

<param name="menu_1" value="My Menu 1">
<param name="menu_2" value="My Menu 2">

Now, we must list at least one sub menu for each of those main menu options ... we want three each, so that's fine.

<param name="menu_1_1" value="sub menu 1 of 3">
<param name="menu_1_2" value="sub menu 2 of 3">
<param name="menu_1_3" value="sub menu 3 of 3">
<param name="url_1_1" value="http://www.yoururl.com/">
<param name="url_1_2" value="http://www.yoururl2.com/">
<param name="url_1_3" value="http://www.yoururl3.com/">
<param name="target_1_1" value="_top">
<param name="target_1_2" value="_top">
<param name="target_1_3" value="_blank">

Note that the _1_ in all the above parameters refers to the 1 in menu_1 (i.e. the first main menu button).     Our second menu options would look the same, but with a _2_ as follows :

<param name="menu_2_1" value="sub menu 1 of 3">
<param name="menu_2_2" value="sub menu 2 of 3">
<param name="menu_2_3" value="sub menu 3 of 3">
<param name="url_2_1" value="http://www.another.com/">
<param name="url_2_2" value="http://www.another2.com/">
<param name="url_2_3" value="http://www.another3.com/">
<param name="target_2_1" value="_blank">
<param name="target_2_2" value="_top">
<param name="target_2_3" value="_top">

Note, each sub menu option has it's own URL to go to, has it's own text value, and it's own target window to open the URL into.

We recommend you group together the menu options as shown in the example above in HTML Example for clarity of reading, however that's not totally necessary for the applet to work.

Note, the number of sub menus can vary from main menu button to main menu button .... button 1 can have three sub menus, but button 2 may have 8, and so on.
 

Color Hex Values and URL Target Values

More information on calculating color hexadecimal values and what URL Target window values mean can be found here.


Download Demo

There is a demo version which you can use to try out the applet before purchasing.  Demo version is fully functional, but menu options will always send the user to this site.  Replace the name of the class in the html specified above with jonetMenu3Demo.class

Download here : jonetMenu3Demo.class

 

 
 

[home]   [products]   [site map]   [license information]   [support]   [links]

Buy and Download

Click to return to main page.

Support

Having problems ?  Can't get it to work ? Confused ? We're here to help !  Click here for our Support Page

[Java (TM) Trademark Disclaimer - click here]
Java and all Java-based marks are a trademark or registered trademark of Sun Microsystems, Inc, in the United States and other countries.

[Copyright © 1997 - 2004 Fugazi Consulting Limited - All rights reserved. ]

 
 

TrafficFile :

  • Want to know who's visiting your site ?  For everything from a free feature rich hit counter to Advanced Web Site and Visitor Tracking, click here

    Web Hosting :

    • Are you looking for a better web hosting company ? Superb web hosting at a Superb price, click here 

      Recommended Links :

      • After Graphs and Charts ? MANMAN development ? For further information click here
      • Learning Web Development ? JScript ? Indispensable books we recommend can be found here