ImageMapHighlight

ImageMapHighlight is based on a script written by קיפודנחש on Wikipedia. It adds highlighting around ImageMap elements, making it easier to tell what is part of what. It also adds a legend below.
== ==
To enable highlighting for an ImageMap, surround it in a div element with the imageMapHighlighter class.
	<imagemap>...</imagemap>
== ==
Customization can be applied to all highlighted ImageMaps using CSS variables on the root element or any parent of the div (allowing CSS to cascade), like this:
Some customization can also be applied to a specific ImageMap, by adding data attributes to the highlight wrapper.
The legend can be disabled for a specific ImageMap by setting data-legend to false or 0.
== ==