jQuery-rwdImageMaps icon indicating copy to clipboard operation
jQuery-rwdImageMaps copied to clipboard

allow options to disable features that may conflict with other plugins

Open vincentcalabro opened this issue 12 years ago • 3 comments

Ability to disable the built in resize feature, and the use of image attr for image size. example usage:

$('img[usemap]').rwdImageMaps({ useImgDimensionAttrs: false, triggerOnResize: false });

vincentcalabro avatar Oct 09 '13 16:10 vincentcalabro

I don't understand. Why would you want to disable either of these things?

What conflicts are you experiencing?

stowball avatar Oct 10 '13 09:10 stowball

I'm using a slider (royalSlider: http://dimsemenov.com/plugins/royal-slider/) and with certain settings, it will add or update width and height attr's of images when scaling down to fit the screen size. So this is no longer an accurate value for the original image size. I may be more interested in updating this slider plugin, but seems having the option to not look at the image attr would be beneficial in some cases.

Regarding the resize feature, for some reason it did not work. We have a resize function with timer in our codebase that we use often, so I implemented that and had to turn off the one in your plugin. Again, just having the option would be convenient.

vincentcalabro avatar Oct 10 '13 15:10 vincentcalabro

I am trying to use http://davidlynch.org/projects/maphilight/docs/ (map hilight) to highlight my image maps but it is conflicting with rwdImageMaps. Any suggestions would be great.

Thanks

grimdesigns avatar Dec 12 '13 18:12 grimdesigns