qTip表示它可以与jQuery UI themerollers一起使用,但它似乎并不适合我。
这是我的脚本src:
这是Javascript代码:
<script type="text/javascript">
// Create the tooltips only when document ready
$(document).ready(function()
{
// Use the each() method to gain access to each elements attributes
$('area').each(function()
{
$(this).qtip(
{
content: {
text: $(this).attr('title'),
},
style: {
classes: 'qtip-light',
widget:true
},
});
});
});
</script>
有人可以帮忙吗。
谢谢。