jQuery plugin that adds highlighting to image maps
JavaScript
Latest commit 6b58447 Jun 11, 2016 @kemayo committed on GitHub Merge pull request #70 from alankyshum/master
Updated js for compatibility with jQuery 3.0
[readme] `grunt build` should be recommended

README.rst

Maphilight

Maphilight is a jQuery plugin that adds visual hilights to image maps.

It provides a single jQuery function: $('.foo').maphilight()

In IE VML is used. In other browsers canvas is used. Maphilight has been tested in Firefox, IE, Safari, Chrome, and Opera.

Documentation is included in the docs directory, or can be found at http://davidlynch.org/js/maphilight/docs/

Development

If you want to make changes to Maphilight, check out the repository and then do:

> npm install

Before submitting a pull request, make sure you've run

> grunt lint

and fixed any errors it reports.

To regenerate the minified version, you can run

> grunt