开发者

Changing background color in jQuery map highlighter

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜