Wibbleware.com - Java™ Applets for menus, navigation and innovative solutions

This page requires a java-capable browser

Free game swapping: PS3, Xbox 360, Wii, PSP, PC, PS2, XBox, DS, GBA, GameCube and PS1

Web Menus

Expand Menu Studio
*NEW* Construct and maintain multi-level menus with this complete menu solution. Includes a menu editor and 50 menu design templates.

Read More...




Mercury Buttons
Dynamically build graphical web buttons and tabs in just minutes. No images required!

Read More...


Fission Menu
Quickly turn a single image into a stylish themed panel of web buttons with the minimum of effort!

Read More...

eXpand
The classic 2-level menu applet. Dynamically expand sub-menus as you move over top-level menus.

Read More...


Banners

Spotlight Banner
Create fantastic eye-catching lighting effects with the Spotlight applet.

Read More...


Security

Abstract e-mail
Abstract offers a truly simple solution to protecting e-mail addresses on your site.

Read More...
 
Mercury - User Guide
2. Basics

2.1 Background Color
In most cases, you will probably want to match the background color of the Mercury applet (any areas without a button or tab drawn onto them) with the main background color of your web page. This is usually done to blend the applet into the web page, making it appear to have a transparent background.

You can achieve this through the BGColor parameter:

 
<applet code="WibbleMercury.class" height=100 width=150>

<param name="BGColor" value="FFFFFF">

<param name="NormalColor1" value="6080A0">
<param name="HighlightColor1" value="80a0d0">

<param name="Text_1" value="Test">
<param name="Page_1" value="http://www.wibbleware.com">

<b>This page requires a java-capable browser</b>
</applet>
 

The BGColor value is a hexadecimal number in the range 000000-FFFFFF. This is a fairly standard RGB notation for color values (for further information on the way color values are represented, take a look at the Color Model information pages).

Color Chart
The following color chart shows common colors and their values and is a useful quick-reference guide to get you started:

  FFFFFF  800080
000000FF00FF
808080808040
C0C0C0FFFF80
800000004040
FF000000FF80
8080000080FF
FFFF0080FFFF
008000004080
00FF008080FF
0080808000FF
00FFFFFF0080
000080804000
0000FFFF8040



2.2 Buttons Or Tabs?
By default, Mercury will display sets of buttons. If you wish to display a set of tabs, you will need to set the Tab parameter to 1. Using the tab facility means that you cannot set the orientation to vertical (tabs can only be displayed horizontally), or use the shadow or stagger functions.

This is demonstrated in the example below:

 
<applet code="WibbleMercury.class" height=100 width=150>

<param name="ButtonWidth" value="100">
<param name="ButtonHeight" value="25">

<param name="NormalColor1" value="6080A0">
<param name="HighlightColor1" value="80a0d0">

<param name="Tab" value="1">

<param name="Text_1" value="Test">
<param name="Page_1" value="http://www.wibbleware.com">

<b>This page requires a java-capable browser</b>
</applet>
 



2.3 Dimensions
The size (all sizes are in pixels) of each button or tab face is determined from the ButtonWidth and ButtonHeight tags:



 
<applet code="WibbleMercury.class" height=100 width=150>

<param name="ButtonWidth" value="100">
<param name="ButtonHeight" value="25">


<param name="NormalColor1" value="6080A0">
<param name="HighlightColor1" value="80a0d0">

<param name="Text_1" value="Test">
<param name="Page_1" value="http://www.wibbleware.com">

<b>This page requires a java-capable browser</b>
</applet>
 

The minimum ButtonWidth value is 50 and the maximum value is 300. If the value is not specified, the default minimum value of 50 will be assumed.

The minimum ButtonHeight value is 18 and the maximum value is 100. If the value is not specified, a value of 25 will be assumed.

Although you may not have noticed, the actual button size of the entire button shown in the example above is, in fact, slightly larger than 100 wide * 25 high. Why is this? Well, the button face is just part of the overall button. An outline and/or shadow effect (buttons only - shadows aren't displayed on tabs) may also be drawn and these effects increase the actual button or tab size within the applet.

This has an effect on the Width and Height parameters you specify in your <applet> tags. See the information on Outline and Shadow Effect for further details.


2.4 Main Colors
The color of the button or tab face is primarily based on the NormalColor1 parameter:

 
<applet code="WibbleMercury.class" height=100 width=150>

<param name="NormalColor1" value="6080A0">
<param name="HighlightColor1" value="80a0d0">

<param name="Text_1" value="Test">
<param name="Page_1" value="http://www.wibbleware.com">

<b>This page requires a java-capable browser</b>
</applet>
 

For buttons or tabs that use styles 0, 1 and 2, the face color will be based entirely on the value of the NormalColor1 parameter value. However, for buttons or tabs that use the gradient styles (values 3, 4, 5 and 6), the button or tab face color will also be based on the value of the NormalColor2 parameter value:

 
<applet code="WibbleMercury.class" height=100 width=150>

<param name="NormalColor1" value="909090">
<param name="NormalColor2" value="00FF00">

<param name="Text_1" value="Test">
<param name="Page_1" value="http://www.wibbleware.com">

<b>This page requires a java-capable browser</b>
</applet>
 

This is demonstrated in the diagram below. The NormalColor1 parameter value represents a mid-gray color and the NormalColor2 parameter value represents a deep blue color. Notice that the color specified by NormalColor2 (deep blue) is only used in the later gradient styles:




2.5 Shapes
Buttons can be displayed using a number of different shapes. Examples of the shapes and their parameter values are listed below:



You can alter the button shape through the Shape parameter value - simply use any value in the range 0-4. The following example would display a rounded button:

 
<applet code="WibbleMercury.class" height=100 width=150>

<param name="Shape" value="4">

<param name="NormalColor1" value="6080A0">
<param name="HighlightColor1" value="80A0C0">

<param name="Text_1" value="Test">
<param name="Page_1" value="http://www.wibbleware.com">

<b>This page requires a java-capable browser</b>
</applet>
 


 
Ordering Online

We accept a wide range of credit cards

How To Buy Online...

Major Credit Cards...

PayPal...

Secure And Confidential...

Privacy...

Licensing...

Money Back Guarantee...


News

[March 2006]
EMS v2.4
Bundled with a GUI editor and 50 menu designs, this updated multi- level menu makes professional site navigation a breeze...

Read More...

[March 2005]
Product Updates
A number of product updates have been made...

Read More...

[April 2004]
Mercury v1.3
Two for one - Mercury can now create buttons AND tabs...

Read More...

[April 2004]
Fission v1.1
An update to Fission navigation menu, our alternative to HTML imagemaps...

Read More...

[March 2004]
Web Page Design
A beginners guide to designing web pages...

Read More...