TextMenu
This applet creates a menu either horizontal or vertical without images, but requires a java 1.1 fully compatible browser, like Internet Explorer 4 or Netscape Communicator + java 1.1 patch.
When the mouse is over a text message, each font size, font style, font color and background color can change.
You can also associate a URL with each text.
Parameters:
- TextToDisplay: the text displayed Must be separated with semicolon ";"
- Position Either "Horizontal" or "Vertical". Default is Vertical.
- URLtoDisplay: the links corresponding to text.Must be separated with semicolon ";"
- Target can have any of the values "_self", "_parent", "_top", "_blank" or the name of the frame you want the URL
to appear. Each URL can have one target and targets must be separated with semicolon ";". Default is "_blank"
- bgCOLOR1: the background color. All colors are defined as triples of
R,G,B values where 0<R,G,B<255. All values zero indicate black, all values 255 indicate white.
- bgCOLOR2: the background color when the mouse is over text
- textCOLOR1: the color of the text.
- textCOLOR2: the color of the text when the mouse is over it.
- FontSize: the size of the font.
- FontSize2: the size of the font when the mouse is over it.
- FontStyle: the style can be "PLAIN" or "BOLD" or "ITALIC" or "BOLDandITALIC". Default is "BOLD". This means that if you don't specify
this parameter, or if you specify it wrong, fontstyle will be "BOLD"
- FontStyle2: the style when the mouse is over the text. Default is "BOLD"
- FontName: is the name of the font. If you don't know what fonts your java support, you 'd better leave it as it is.
- Author and Email do not affect your applet in any way as long as they stay as they are and
should not be changed because the applet won't work then
You must also change width and height of the applet accordingly when you create your own menus
Back to the TextMenu applet page
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|