可非常方便的配置左右工具提示:
$(document).ready(function() { new $.Zebra_Tooltips($('.zebra_tooltips_left_below'), { position: 'left', vertical_alignment: 'below' }); new $.Zebra_Tooltips($('.zebra_tooltips_right_below'), { position: 'right', vertical_alignment: 'below' }); });
最简单基础用法
HTML:
<p> <a href="javascript: void(0)" class="zebra_tooltips" title="Zebra Tooltips is a lightweight and highly configurable jQuery tooltips plugin"> Over here!</a> </p>Javascript:
$(document).ready(function() { new $.Zebra_Tooltips($('.zebra_tooltips')); });