ImageMap.java
Usage: Place these class files (and these audio files and jim.graham.gif) within your HTML directory.
Java Source: ImageMap.java
HTML Source:
<applet codebase=classes code=ImageMap.class width=522 height=486>
<param name=img value="jim.graham.gif">
<param name=highlight value="brighter30">
<param name=area1 value="SoundArea,260,180,120,60,audio/hi.au">
<param name=area2 value="NameArea,260,180,120,60,Hi!">
<param name=area3 value="NameArea,265,125,45,20,That is my right eye">
<param name=area4 value="NameArea,335,130,45,20,That is my left eye">
<param name=area5 value="HrefButtonArea,200,7,210,300,../index.html">
<param name=area6 value="RoundHrefButtonArea,60,0,100,120,../index.html">
<param name=area7 value="SoundArea,425,98,27,27,audio/chirp1.au">
<param name=area8 value="NameArea,425,98,27,27,Chirp!">
<param name=area9 value="ClickArea,0,0,522,486">
</applet>
Author: Jim Graham of Sun Microsystems
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.
|