![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The challenge is to add background image (dot) to each <area> so it will display over the image map. |
#3
| |||
| |||
|
|
I am trying to implement an image map (in this particular case a country map) with few <area ...>s on it. The challenge is to add background image (dot) to each <area> so it will display over the image map. I am failing miserably at that. Anybody tried to do that before? Anybody succeeded? |
#4
| |||
| |||
|
|
Scripsit GArlington: The challenge is to add background image (dot) to each <area> so it will display over the image map. Won't work. By the specs, you can set background properties for an area element, as for any element. In practice, they'll be ignored. That is what I suspected from my attempts to make it work... So you need to define the goal more exactly, so that alternative approaches could be suggested. In particular, "why" is a good question. And do you really expect a _background_ image display _over_ an image map? The goal was to create a dynamic country map with dots and clickable |
|
You can set a background for the entire image, making the background image itself different in different areas of the foreground image. I don't know why you would do that, but the whole idea looks odd to me. If this approach wouldn't work, why not? -- Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/ I am not sure who (it was before my time) came up with the idea of |
#5
| |||
| |||
|
|
The goal was to create a dynamic country map with dots and clickable area> elements for each office, these <area> . |
|
Until recently the country map was created as an image WITH dots for each office and <area> elements were created separately taking coordinates of each office from DB. |
|
I was hoping that it would be possible to include the dot for each <area> thus saving the inconvenience of re-uploading the map every time the new office is added - and yes, it happens fairly often - I had to do it three times in the last year and it has to go through testing every time to make sure that coordinates and dots on the image go together... |
![]() |
| Thread Tools | |
| Display Modes | |
| |