The areas themselves cannot have CSS styles applied (I believe). If they are all rectangular areas, you could substitute them for transparent DIVs with onClick events - amounts to about the same amount of code. If you put a background on them, though, you will not see the image behind. Have you considered just altering the image to define the areas visually?
Or you could use a script to cycle focus through the different areas, so they display a marquee around them in quick succession - though I imagine this would tax the user's processor and make clicking operations unpredictable.
There are a number of ways to cut this cake, the bottom line is what is the purpose of this image and map, and what do you want it to look like? How much should the area indicators disrupt the original image? Remember image-map areas with a link can have ALT text and the cursor will change to a finger when you roll over them - do you need more than that?
Main Topics
Browse All Topics





by: CrYpTiC_MauleRPosted on 2004-07-07 at 04:23:59ID: 11490231
Why not just make the image like that? Or are you referring to when you mouseover the are it chnages to a certain color, or dot appears etc?