Applets by JObjects.net

 
   
Fugazi Consulting Ltd

    Sliding Arrow Menu

Offline Documentation :

Microsoft Word Document : jonetMenu1.doc (79k)
Text Document : jonetMenu1.txt (14k)

 
Online Documentation :

HTML Example

<applet code="jonetMenu1.class" width=160 height=125>

<param name="arrowtype" value="1">
<param name="linetype" value="1">
<param name="lineend" value="1">

<param name="forecolor" value="444444">
<param name="backcolor" value="B4FFB4">
<param name="insertcolor" value="C0C0C0">
<param name="startpos" value="1">
<param name="textspace" value="20">
<param name="fontstyle" value="TimesRoman">
<param name="fonttype" value="Bold">
<param name="fontsize" value="12">
<param name="arrowpos" value="right">
<param name="highlight" value="false">

<param name="menu_1" value="Yahoo Search Engine">
<param name="menu_2" value="Google Search Engine">
<param name="menu_3" value="Hotmail Email">
<param name="menu_4" value="Email">
<param name="url_1" value="http://www.yahoo.com/">
<param name="url_2" value="http://www.google.co.uk/">
<param name="url_3" value="http://www.hotmail.com/">
<param name="url_4" value="mailto:example@email.address">
<param name="target_1" value="_blank">
<param name="target_2" value="_blank">
<param name="target_3" value="_blank">
<param name="target_4" value="_blank">
<param name="tooltip_1" value="This is menu option 1">
<param name="tooltip_2" value="This is menu option 2">
<param name="tooltip_3" value="This is menu option 3">
<param name="tooltip_4" value="This is menu option 4">
<param name="tooltip_5" value="This is menu option 5">
</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 may wish to adjust the WIDTH and/or HEIGHT to suit your web page, and the size of menu you wish to display.

You can customise your applet by changing the following parameters (some of which are optional, i.e. can be omitted) :
 
forecolor
backcolor
insertcolor
The color of the text/lines, background and insert on the position pointer (arrow) respectively.  Default to black, white and orange if parameter is omitted.
arrowtype
linetype
lineend
Numeric value to signify which arrow type, line ends and line type should be used.  See below.
highlight Should the currently active / pointed at menu option be highlighted ? true or false
startpos Which menu option the pointer (arrow) is pointing at as a default.  No initial selection if parameter is omitted (no arrow will be shown on the menu unless the user points at the menu).  Can be useful for indicating which page the user is currently on within your site (and, of course, where they can go)
textspace The amount of space between each menu option, defaults to 20 pixels if parameter is omitted
fontstyle Helvetica, TimesRoman or Courier.  Defaults to Helvetica if parameter is omitted
fon type Plain, Bold, Italic.  Defaults to Bold if parameter is omitted
fontsize The size of the menu text.  Defaults to 11 if omitted
arrowpos "left" or "right", the side the arrow should appear on
menu_n A list of the menu option texts, starting at 1
url_n The URL to go to if the user clicks on the menu option.  Can also include an email address (as above)
target_n The target window to open the URL in.  Valid values of _top _self _parent or _blank (see below)
tooltip_n Tooltip to be displayed in the browsers status bar for the menu option being pointed at.  Optional.

Note : ideally there should be one url_n and one target_n parameter for every menu_n parameter, as shown above, for example :

<param name="menu_8" value="a value">
<param name="url_8" value="www.this.com">
<param name="target_8" value="_blank">

Notes on color : the color values are hex values of RGB (red, green, blue).  A value of FF8844 means a red value of FF, a green value of 88 and a blue value of 44.  In decimal, this hex converts to 256, 128 and 64.  The standard Windows Paint software can be useful for working out RGB values for a color of your choice.

Arrow, Line and Line End Combinations

            Arrow Types :
            0          no arrow
            1          arrow, infilled
            2          single line
            3          double line
            4          solid box
            5          box, infilled
            6          arrow
            7          double arrow
 

            Line Types :

            0          no line
            1          single line
            2          double line
 

            Line Ends :

            0          no line end
            1          solid box end
            2          line end T
            3          solid box, infilled
            4          arrow


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 every URL will point to this site (not the page you specify).  Replace the name of the class in the html above with jonetMenu1Demo.class

Download here : jonetMenu1Demo.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