阅读背景:

如何通过坐标将按钮放在图像上,并在单击这些按钮时运行jquery功能

来源:互联网 

I have a partial view in which I put an image in png format. For the image I have a set of points with their coordinates x1, y1. I need to put some kind of buttons (for example, with width=18 and height=23) over the image and locate them according to their coordinates. When the user clicks on a button, I want alert() function run. How can I do it? When the user will resize the window, the image would also resize, so the coordinates should be recalculating to be appeared on the right place. I have a partial view in which I put an image i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: