PDA

View Full Version : Odd-shaped image maps


Agent007
01-11-2007, 10:13 PM
I have a map of the world, divided by country. I need to make it "hot" so that when a country is rolled over, a small box appears and disappears when the mouse is off. How can I make the ENTIRE section of a country an image map, instea of drawing a polygon inside the shape with Dreamweaver (which doesnt utilize the entire surface area of the country)?

davidj
01-11-2007, 10:22 PM
is this what you want. A map using co-ords
values are grouped in pairs (top & left) to define points


<img src="Images/ajax.jpg" width="853" height="898" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="poly" coords="194,675,184,712,243,768,269,723" href="#" />
</map>

Agent007
01-11-2007, 11:15 PM
How will that work if each coordinate is larger than a pixel? When I put a coordinate into dreamweaver, it shows up much larger than 1 pixel, so i cant get the image map exact. How do i do this?

davidj
01-11-2007, 11:17 PM
post the image and i will copy it and give it ago