Hello all,
I have tried to use qTip to show tooltip for li and I have found problems as follows:
<html>
<head><title>error</title>
<body>
<ul>
<li title="Coffee">Coffee</li>
<li title="Tea">Tea</li>
<li title="Milk">Milk</li>
</ul>
<a href="" title="a1">a1 tooltip</a>
<script type="text/javascript" src="jquery-qtip-1.0.0-rc3092531/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="jquery-qtip-1.0.0-rc3092531/jquery.qtip-1.0.0-rc3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// NOTE: You can even omit all options and simply replace the regular title tooltips like so:
$('a').qtip(); // this works
$('li').qtip(); // this doesn't work
});
</script>
</body>
</html>
The code $('a').qtip()
works well. However the code $('li').qtip()
doesn't work. I am not sure whether or not this is a bug in the plugin or I didn't use it correctly.
Thank you