On Wed, 17 Dec 2003, Johnny Paredes wrote:
hello. i'm new to html so please forgive my silly question.
That's OK, but I don't understand what it is that you want to know,
I'm afraid...
basic example to explain my question - <MAP name="htmlref">
<AREA shape="rect" coords="1,1,10,20" href="index.html">
<AREA shape="circle" coords="50,50,10" href="toc.html">
<AREA shape="poly" coords="20,1,40,1,30,20" href="banner.html">
</MAP>
<IMG src="htmlref.jpg" usemap="#htmlref">
OK, this is known as a "client-side imagemap" (to distinguish it from
server-side imagemaps).
how to i determine the coordinates of any particular image,
What do you mean by "determine"?
If you want to make an imagemap in practice, it's probably advisable
to get some software that makes it for you, via point and click.
Such things are usually built-in to pointy-clicky web page designing
packages, but there are also some stand-alone imagemap creation
utilities available out there.
If you want to see where those areas come out on your image as
determined by the specific recipe that you've shown, then you can put
"title" attributes on each "area", and then several recent browsers
will happily pop-up the titles as you mouse around over the area.
This page of mine isn't by any means the latest, but you might find
the client-side imagemap part of it to be useful?
http://ppewww.ph.gla.ac.uk/~flavell/www/imgmaptut.html
If you want to know more, please be a bit more specific in your
question, is that OK?