我有座位位置的建筑图像,我必须在按钮单击时显示图像的选定位置。例如,如果用户选择座位号 120,我必须找到座位号 120 并突出显示座位号。图像非常大,2000x1500 大小,所以我必须显示具有选定位置的图像,就像在谷歌地图中它显示搜索位置一样。
请让我知道如何实现这一目标。提前致谢。
Well one way would be to use the "area" tag of HTML (http://www.w3schools.com/tags/tag_area.asp) Then you would be able to link every seat to a detail page with information about it. This will not solve your highlight problem though. Do you have to stick to the image?