Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 ImageMapster jQuery 插件,并且我想将可以在(图像)地图上进行的选择数量限制为特定数量。
假设我有 30 个区域,但只想同时选择 3 个。做出 3 次选择后,第 4 次选择应覆盖第 3 次。
有没有办法我可以做到这一点?任何帮助将不胜感激!
GitHub 上有一个问题处理了这个问题,并扩展了 ImageMapster 的原始功能。
https://github.com/jamietre/ImageMapster/pull/179