For your scenario, would it suffice to capture click events on an opaque image area?
This can be done using map and some JavaScript:
<img src="http://i.stack.imgur.com/Ab6aW.jpg" alt="" usemap="#Map" /> <map name="Map" id="Map"> <area href="javascript:alert('You clicked on the image!')" shape="poly" coords="193,148,50,193,254,292,461,191,302,141,332,99,285,27,220,16,170,89" /> </map>
(Coordinates were obtained using this site .)
Richard Everett
source share