I want to use this jquery library for my web page. I am copying all the code in the article page and then pasting into my .html file as below:
<html>
<head>
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>
<script type="text/javascript">
$("document").ready(function(){
$("#demo img[title]").tooltip();
});
</script>
</head>
<body>
<br />
<br />
<div id="demo">
<img src="image1.jpg" title="The tooltip text #1"/>
<img src="image2.jpg" title="The tooltip text #2"/>
<img src="image3.jpg" title="The tooltip text #3"/>
<img src="image4.jpg" title="The tooltip text #4"/>
</div>
</body>
</html>
But .tooltip class style is not running. I can’t see the background image and others.
How do I need to edit my .html file?
Also if I want to change this library’s css styles how can I?
Working demo http://jsfiddle.net/QWeKw/2/ or http://jsfiddle.net/XUhxQ/
You can make your own styling.
Very good link: http://jquery.bassistance.de/tooltip/demo/ or http://docs.jquery.com/Plugins/Tooltip
This should help,
code
css inside demo
Working image