#jquery-tooltip
jquery-tooltip was designed to make implementation as easy as possible. Before implementing, make sure you meet the minimum requirements.
![image][] [image]: https://raw.github.com/amazingSurge/jquery-tooltip/master/demo/img/tooltip.png
- jQuery 1.4.x or greater
For the most basic implementation, follow the steps below:
-
Download the jquery-tooltip Package
-
Unzip the package and upload the following files into a folder on your website:
- jquery.tooltip.js - tooltip.css
-
On the page you are implementing tooltip on, add a reference to the jQuery library.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
-
Below the reference to jQuery, add a reference to the tooltip script.
<script type="text/javascript" src="/jquery.tooltip.js"></script>
-
On the page, add a input (or any other element with an class works).
<span class="tooltip-click" title="this is a simple tooltip">a simple show</span>
-
Initialize Paginator on the file input. the first argument is the total pages get from your server , the second is options.
$(document).ready(function() { $(".tooltip-click").tooltip(); });
-
Add a link to the Paginator stylesheets in the head of the document.
<link rel="stylesheet" type="text/css" href="tooltip.css" />
-
The final page should look like the following:
```html <!DOCTYPE html> <html> <head> <title>tooltip</title> <link rel="stylesheet" type="text/css" href="tooltip.css"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="jquery.tooltip.js"></script> <script type="text/javascript"> $(document).ready(function() { $(".tooltip-click").tooltip(); }); </script> </head> <body> <span class="tooltip-click" title="this is a simple tooltip">a simple show</span> </body> </html> ```
(Coming soon)
(Coming soon)
(Nothing yet)