开发者

Changing background color in jQuery map highlighter

开发者 https://www.devze.com 2023-02-05 17:28 出处:网络
I have a store locator with this plugin. I want if each area has a store this area\'s background have a different color from the others. So it\'s aboutstyling subject it can be. I don\'t know how. Per

I have a store locator with this plugin. I want if each area has a store this area's background have a different color from the others. So it's about styling subject it can be. I don't know how. Perhaps this map needs trigger to highl开发者_开发技巧ight.

plugin home page = http://davidlynch.org/js/maphilight/docs/


I resolve my solve myself. I used jQuery Metadata plugin.

http://plugins.jquery.com/node/8774 I get it later I used highlighter's option in area tag as class. Like that;

class="{alwaysOn:true, fillOpacity: 0.3, fillColor: '0ff000'}"

By the way sometimes poor english can be strong language ;) Thanks.

0

精彩评论

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

关注公众号