I have a small image, with image map placement. Whenever area is clicked, I would need to change opacity of test2 area only, no matter if test1, test2 or test3 area is clicked. As I don't know jquery syntax very well, I would appreciate if you could tell me how to solve this. Thank you.
<img src="testing.png" usemap"testing-map" />
<map name="testing-map">
<area shape="rect" coords="426,274,456,300" alt="test1" />
<area shape="rect" coords="456,274,618,300" alt="test2" />
<area shape="rect" coords="618,274,678,300" alt="test3" />
</map>
Jquery:
$('area').on('click', function() {
--- no idea --- .css('opacity', '0.1');
});