August 3, 201214 yr Hi I have an image of a village map on a website. I want to have a list of locations on the same page such, that when a location is clicked on, it is highlighted on the map. This could be achieved either by overlaying an arrow at the relevant place or by highlighting a small mapped area of the image. I'm hoping that this can be achieved in HTML CSS &/or javascript as I don't have access to php or serverside scripts. Any advice on the best way to go about this would be much appreciated. Thanks in advance, Geoff.
August 3, 201214 yr How about having hidden divs, each with the arrow/highlight area positioned in the relevant locations on the map, then when one of the entries in the list are clicked it makes the relevant div appear?
August 3, 201214 yr This sort of thing? http://www.gethifi.com/blog/a-jquery-plugin-for-zoomable-interactive-maps
August 4, 201214 yr Author Many thanks for the advice guys. I think I'll go with the hidden divs method it seem to work OK and I just need to figure out how to place them correctly on the image.
August 4, 201214 yr Many thanks for the advice guys. I think I'll go with the hidden divs method it seem to work OK and I just need to figure out how to place them correctly on the image. Absolute positioning?
August 5, 201214 yr Author Thanks Bomb, A useful article as I tend to use absolute positioning on my website and this is not always consistent bertween IE & Firefox.
Create an account or sign in to comment