In the picture above, I want to add an event to the small white triangle on the disk in the picture. In what way, it is best to have code guidance
<html><head> <title>Index</title> <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> <style> </style></head><body><img src="imges/404.png"/><img src="imges/404.png"/><img src="imges/404.png"/><img src="imges/404.png"/></body><script> for(var i = 0; i <$('img').length; i++){ (function(i){ $('img').eq(i).click(function(){ alert(i); }) })(i) }</script></html>
The picture above is one picture, not put together. Now I need to click on the small triangle area in the picture to trigger the event
You can use the hotspot map, http://www.cnblogs.com/wangyuelang0526/archive/2012/05/16/2503732.html, I hope it can help you
http://www.w3school .com.cn/tags/tag_area.asp, see for yourself, tag. You can only find the coordinates on the picture yourself.
Forget it, disperse and solve it yourself