开发者

jQuery maphighlight for changing area highlight color

i am using jquery.maphighlight.min.js plugin for highlighting mapped area...now my problem is to change the highlight color depends upon the condition...In first condtion highlight the area with the red color then the same area will be highlighted with the black color for 开发者_JAVA技巧the second condition.I can able to highlight the same area but i cant able to change the color of the area simultaneously...any one help me to resolve this problem.


In first condtion highlight the area with the red color then the same area will be highlighted with the black color for the second condition

Have you checked the documentation and some of the feature demos? It looks like you can simply define the colors when you set up the selectable area, and it looks like you can also over-ride the style information for the specific area inside the area tag itself. View the source of the demo page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜