maphilight
maphilight copied to clipboard
jQuery plugin that adds highlighting to image maps
The width and height of the wrapper needs to be set to offsetWidth and offsetHeight. `wrap = $('').css({ display:'block', backgroundImage:'url("'+this.src+'")', backgroundSize:'contain', position:'relative', padding:0, width:this.offsetWidth, height:this.offsetHeight });`
Here is the link to download zip: http://bit.ly/1PlqGmJ (POC i created) Issue: On click i am highlighting selected map area. if i click on other map area, script should remove...
You only accept color codes in a format like this: `` Why not also accept a format like this: `` I run into this issue because I have a script...
Hi, When the fade option is enabled the highlighted areas only fade in, they don't fade out but instead instantly disappear when you leave an area. Additionally, it'd be nice...
Brouser Google Chrome 53.0.2785.116 m (64-bit) still can process such images perfectly.
First, thanks so much for writing this. It's great. I'm testing it on IE 10 and it works great, but in the latest version of Chrome, my image appears briefly...
Is is possible to apply my own CSS rule to the highlighted area? I'd like to apply a single CSS rule to the highlighted area: ``` js mix-blend-mode: overlay ```...
Hello and good day. Is there like a way for me to highlight every area with a click of a button? I'm trying to create a map where the location...
In one of my projects tag is sometimes empty. So I don't need the to be generated. Maybe add some default option like `'emptyMap': true` for backward compatibility, so it...
We have noticed a problem where as the user is entering + saving new circle locations the coordinates are actually being changed until the circle reduces into such a small...