The Novapeer Java Buttons Package
For each button applet you wish to use, simply copy all .class files under that directory on the
package disk on to your site and use the following HTML code to run the applet.
Accessing applets from HTML
The basic HTML command framework for accessing applets is :
This will run the applet called myClass.class from the same directory as the HTML file is stored
in, within an applet window 112 pixels accross and 40 pixels down.
This is the simplest call to an applet. This has no parameters passed in and can only run
applets stored in the same directory as the HTML code.
Lets add some more complexity to the basic applet calling framework
The code above will still access the applet myClass.class, but this time it will pass in a value of
myValue into a parameter called myParameter. You can have as many PARAM NAME lines
between your applet tags as your applet requires.
Now for a bit more complexity
This is the same as the previous example except for the addition of the CODEBASE tag, in the
example above, the browser will try to load the applet from the parent directory of where the
HTML code is stored.
© Novapeer Computers Ltd 1996