The applets at the top of this page are a variation of the button.class applet created by Paul Lutus! It can be found by following the link below titled 'arachnoid.' All that you need from the code on this page is the code between <!--begin applet code---> and <!----end applet code--->. Paste this into your own document and lose the rest...have fun.
Make sure that 'all' files relating to the Applet are in the same 'directory' on your server, or in the same 'folder' on your computer as your 'html' file! This is the most common mistake made! If this cannot be done for some reason, see the documentation provided with the applet for the use of the 'codebase' tag! A word of caution; when visiting sites with a lot of java applets on the same page do not quick-click your mouse as this may freeze
( lock up ) your browser and you will have to Ctrl-Alt-Delete to end the task and re-open your browser. This will not likely cause harm to your system, but it is very irritating!
Although this applet is usually applied to a 'frames' page, (see below). as you can see it is adaptable to fit any page. I used two applets, one above the other to create this effect! If you wish the button links to be viewed and operable by 'both' java and non-java enabled browsers, view the 'source' code of this page and copy the table below and place it within the applet where indicated in the source code. That way persons with java-enabled browsers will see the 'cute buttons' and persons with non-java browsers will see the table links below at the top of the page instead. Persons with non-java browsers will see a page like this instead! Check It Out. Do not forget to change the 'non-java alert' text so that your page 'title,' is where 'Welcome To A Java Applets Page' is and so it will 'not' indicate that your page contains only 'java-related' content as this page does!
|Link Button One||Link Button Two||Link Button Three||Link Button Four|
|Link Button Five||Link Button Six||Link Button Seven||Link Button Eight|
Using in FramesOk, if you want to use these buttons in a *frames* setup add this parameter to each cute button applet code you use. where value= denotes the name of your target window. In this case the target window being "main"
<param name="targetwindow" value="main">
Also add the *name* to your mainframe by the frame you wish to use as target as usual. where "main" is the *name* of your targetwindow:
<frame src="open.html" name="main">
One more thing. Paul Lutus never included a mailto: param in his applet so the only thing you can do there is use one of the params, or add a param, pointing to a page with your email link on it. Set the *b9* below to your own number.ie:
<param name="b9" value="Email|mail.html|this will take you to email">
Use a relative link such as "mail.html* above if possible. If not use the full http:// path to the page.