## NavBar

Version : 2.3
Last revised date : 15/04/2000

NavBar offers a sleek interface for professional web sites. The intuitive and compact menu interface offers an ease of use and instant access to all the services provided by the web site.

You could configure the menu to your liking : the size, the font, the color, background image, target frames or windows...

NavBar is free for non-commercial use. Please refer to the ordering information if you plan to use it on a commercial web site. The latest version of the applet is available at The Java Showcase.

### Additional Information

How to configure the applet to work with frames

You could specify the target frame of the link using either the parameter "target" (which is the default target for all the links) or the parameters "Menu(i)Target" or "Menu(i)Target(j)". There are several values that are pre-defined by the HTML standard, for example "_blank", "_new", "self" and "_top". However, if you want the link to appear in a frame that you have named, eg "mainframe", please specify "mainframe" as the value for the particular parameter. There is NO underscore for names that are not pre-defined, as is the case for HTML tags.

Example :
<param name=target value="bottom"> OR
<param name=target value="_blank">

Where is the class file? Why couldn't I find it in the zipped file?

The class file as well as all the program files needed to run the applet are compressed within the jar file. There is no need to extract the class file to use the applet. However, you will have to specify that the class file is within the jar archive by including the attribute "archive" within the applet tag.

Example : <applet archive=navbar.jar code=navbar.class width=600 height=100>

Adding the applet using FrontPage or a graphics-based web publisher.

You need to copy the code, change to the HTML view and paste it after the body tag. An excellent tutorial for Web Studio users at this web site.

Is there any way to display the menus outside the allocated space?

Unfortunately, Java applets are only allowed to operate within the confined space. If you come across a menu which can appear above text and images, it is probably written in Javascipt.

The applet works fine under Internet Explorer but when I view it under Netscape, some menus do not appear. What is the problem?

Internet Explorer is more tolerant to syntax errors than Netscape. If the applet works fine under Internet Explorer but not Netscape, there is probably a small error somewhere : missing values, no closing tag etc.

How do I get the applet to work with frames?

The sample html which comes in the download provide ample information on the use of the applets with frames. The default target frame can be specified by using either the parameter "target". You could also specify a target frame or window for specific menu items using "Menu(i)Target" or "Menu(i)Target(j)".

Please note that values such as "_blank", "_new", "self" and "_top" are already predefined by the HTML standard . If the name of the target frame is "mainframe", the value should be "mainframe" instead of "_mainframe". There is NO underscore for names that are not predefined, as is the case for HTML tags.

The applet does not work with Netscape Communicator. There are several error messages that appear when I tried to run the applet.

This is an existing problem in some versions of Netscape which prevents applets from running correctly. Please refer to the technical support of Netscape for more information.

java.lang.SecurityException or invalid certificate in Netscape

This is not a bug but rather a problem in some versions of Netscape that prevents applets from running correctly, especially under Macintosh. Please refer to the technical support of Netscape for more information.

class file not found

All class files are compressed in the jar archive for fast and efficient loading. The jar archive must be placed in the same directory as the html file. To specify that the class file is within the jar archive, please include the attribute "archive" within the applet tag

Example : <applet archive=navbar.jar code=navbar.class width=600 height=100>

Please contact us if you come across any issues that has not been been covered in this page. Feedback and suggestions are most welcome.