Home › Forums › JavaScript › Javascript :hover, is it possible to designate areas. › Re: Javascript :hover, is it possible to designate areas.
April 18, 2013 at 8:14 am
#132297
Participant
With jQuery (too lazy to try without) you can easily get the coordinates within the event target, and do some logic on that:
http://codepen.io/CrocoDillon/pen/Kardl
EDIT: Actually without jQuery it was pretty much the same, only need to adapt the code to work on IE with `attachEvent();`