What is it?
URLMenu is a simple menu system written in Java. What is Java? Java is a
portable language that is both compiled and interpreted. Here's how it
works:
- The Java code is read in by a compiler and bytecode is written to a file with a .class extension. This is the compilation
- The bytecode is read in by the program that's viewing the applet and the appropriate action is taken for each command. This is the interpretation part
Enough with the Java propaganda, let's see how to use URLMenu
How do I use it?
To use URLMenu, just insert an <applet> tag on your code like so:
<applet code=URLMenu.class width=200 height=300>
<param name=target0 value="http://www.oocities.org/euMan2376,My web site">
<param name=target1 value="http://www.rapidEuphoria.com,Euphoria">
<param name=target2 value="http://jjprog.tripod.com/euos.html,EuOS">
<param name=target3 value="http://java.sun.com,Java">
</applet>
To use a link, just double-click it.
Each site is the URL and name of the site separated by a comma.
Note: It's important to add a protocol like http://, ftp://, or file://. If you don't include a protocol, the Java VM will just gripe.
The first target has the parameter target0. The second is target1, etc...
To select a web site, click it. Its name will appear on the status bar. When
you press Enter, you will be taken to the selected web site.
Warning: It's absolutely imperative(at least in NS 3.0) that you type in 'URLMenu.class' exactly as it appears, no case deviations, or it won't work!