[Leave frames]

Navigation Button Bar

Best viewed with Netscape

Introduction

A customizable gif-free navigation bar with help tips. Ideal for frames and a better replacement for imagemaps. Can be placed in a left or a right or a top frame.

Features

Demonstration

This page, by default, demonstrates the applet when placed in a left-side frame. Click for a different view (right and top).

Usage

<APPLET code="ButtonBar.class" archive="ButtonBar.zip" width=160 height=250>
<PARAM name=title value="My Home">
<PARAM name=titleMessage value="Welcome to Subrahmanyam's Java Resources">
<PARAM name=titleFont value="Helvetica,20">
<PARAM name=position value="left">
<PARAM name=align value="left">
<PARAM name=url0 value="Home, index.html, Start here">
<PARAM name=url3 value="Applets, applets.html, Free Java">
<PARAM name=url5 value="Links, links.html, Favorite links">
<PARAM name=mailto value="Mail, mailto:your_name@domain, Contact me.">
<PARAM name=target value="content_frame">
<PARAM name=borderWidth value = 1>
<PARAM name=buttonColor value="211,211,211">
<PARAM name=backColor value="000,000,000">
<PARAM name=textColor value="000,000,000">
<PARAM name=textFont value="Helvetica,16">
</APPLET>
Applet tags Property Syntax Default
title Title (vertical) of your home page. "my_home" "My Home"
titleFont Title font "Fontname, size" "Helvetica, 20"
position Position (left/right/top) "position" "left"
align Justification of text (left/right/center) "align" "left"
urli Target URL "Title, URL" -
mailto E-Mail "mailto:xxx.xxx.xxx" -
target Target frame "target" -
borderWidth Button border width "1" 2
buttonColor Foreground button color "r,g,b" "190,190,190"
textColor Text color "r,g,b" "0,0,0"
textFont Text font "Fontname, size" -

Download

Download buttonbar.zip or buttonbar.tar.gz for complete source code and class files.

Copyright

This applet uses RotateFilter.class distributed with The Java Tutorial: Object-Oriented Programming for the Internet. Please check its copyright before using or redsitributing the ButtonBar applet.

Copyright for the rest of the code rests with the Author. All rights reserved.


Last modified: Fri Jun 18 11:50:47 India Standard Time 1999

© Subbu Allamaraju 1998, 1999. All rights reserved.

All copyrights and trademarks acknowledged.