Java Lab 3 Question 4

Imagemap example with hotspots. Highlighted when mouse is moved into the "hot spot" area. The image, hot spot locations, and hot spot URLs are all passed to the applet from the HTML page. The HTML side looks like this:

<CENTER>
<APPLET codebase = "java/" code=Lab3Map.class width=318 height=191>
<PARAM name="image" value="images/lab3map.gif">
<PARAM name="rect0" value="150,80,131,25, my_major.html">
<PARAM name="rect1" value="150,113,131,25, my_family.html">
<PARAM name="rect2" value="150,144,131,25, my_resume.html">
</APPLET>
</CENTER>
The output of this applet is as follows:

Applet Source