Forum Moderators: open
I'm newbie in this forum, and I'm not sure if someone has thrown this question before.
I'm wondering how can I link one picture (.jpg) to many links.
For instance:
I have only one picture in .jpg format, and on the picture, there are some options I want to link : Home, Index, List, Contact us, etc.
My question is, how can I link those options without breaking the picture into pieces ? or should I break it ?
Many thanks,
-beth
<map name="1234">
<area shape="rect" coords="16, 149, 137, 170" href="">
<area shape="rect" coords="16, 125, 138, 147" href="">
<area shape="rect" coords="16, 102, 137, 124" href="">
<area shape="rect" coords="15, 79, 138, 101" href="">
<area shape="rect" coords="13, 55, 138, 77" href="">
<area shape="rect" coords="12, 26, 138, 54" href=""></map>
I've never used image map. Lets say that I have a picture file name: Home.jpg. How can I apply this maping code ? Could you please show me the codes example that includes the source of .jpg file.
<map name="1234">
<area shape="rect" coords="16, 149, 137, 170" href="">
<area shape="rect" coords="16, 125, 138, 147" href="">
<area shape="rect" coords="16, 102, 137, 124" href="">
<area shape="rect" coords="15, 79, 138, 101" href="">
<area shape="rect" coords="13, 55, 138, 77" href="">
<area shape="rect" coords="12, 26, 138, 54" href=""></map>
many thanks.
Welcome to WebmasterWorld Blue_Tetra, eeblet and isNaN.
so i use image maps because sliced images tend to load less gracefully (one or two imgs lag behind)
I haven't done much experimentation lately with one large graphic and download times. But, I can tell you that browsers handle multiple smaller images much quicker than one large one. I think I'll take the chance of those last two being delayed and at least give the visitor some content to begin scanning.
Gotta be careful with large images. Even though we talk about 56k, very few are seeing above 46k and I think the average is less than that. We all tend to get spoiled here on our high speed connections and we sometimes forget about the majority of our audience's connection speed.
(Our company site [which I'm currently rewriting using CSS, so forgive the yucky code], <http://www.radiovoodoo.com>, uses imagemap nav.)
By the way, nice clean site!
Hmmm, I didn't know you could assign individual alt tags on image maps. Thats a new one for me. Aw heck, I learn something new here every hour!
i plead ignorance when it comes to slicing; would i need a table?