[3062] in java-interest
Re: imagemap?
daemon@ATHENA.MIT.EDU (ser@jersey.uoregon.edu)
Sat Oct 28 03:04:19 1995
From: ser@jersey.uoregon.edu
To: java-interest@java.sun.com
Cc: chwright@goesser.mit.edu
Date: Fri, 27 Oct 1995 22:33:57 -0700
> Can I have an imagemap-type link from
> a hot spot in an applet to some URL?
Yep. Go grab the ImageMap from:
http://java.sun.com/applets/alpha/applets/imagemap/index.html
It's not only a superior imagemap, but it's powerfully extensible,
as well. Another interesting example that allows you to specify areas
with masks (and pops up information in windows) is at:
http://www-i5.informatik.rwth-aachen.de/mbp/mapzine/test.html
If you are going to program your own, look at these examples for
inspiration. However, the easiest way to do it if you must do it
yourself is to intercept mouseDown() in your applet, check the x,y
coordinates, and then cause a load of the page your want. It's a lot
easier just to steal someone else's imagemap, though.
--- SER
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com