! ============================================================================ !
   README.TXT : JavaScript, jQuery & CSS3 Tooltips
   24/05/2012
   Mathieu BRUNOT
   mb.mathieu.brunot@gmail.com
! ============================================================================ !

!  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MIT License
!  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Copyright (C) 2012 Mathieu BRUNOT

Permission is hereby granted, free of charge, to any person obtaining a copy of 
this software and associated documentation files (the "Software"), to deal in 
the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.

!  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    How To use
!  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Extract the archive into the root of your web site.

The JavaScript function need jQuery to parse the page and create animations.
You can whether use a local jQuery or import it from somewhere else:
	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" 
		type="text/javascript"></script>
There is non-jQuery version but it is more restrictive to use than the jQuery
one.

Import the JavaScript code:
	<script src="/js/tooltips.js" 
		type="text/javascript"></script>


Use one of the skin available (silver, gold or steel): 
	<link href="/css/tooltip/silver/tooltips.css" rel="stylesheet" 
		type="text/css"></link>
Of course, you can easily create your own CSS for your own tooltips ;)


If your using jQuery, using this small feature is as easy as wrting a simple
HTML title:
	<a title="So nice !">Hover me</a>

If not, it's a bit more tricky:
	<a onmouseover="javascript: tooltip.show('So nice !');" 
		onmouseout="javascript: tooltip.hide();">Hover me</a>


For more details on how to use it, have a look on the demo and/or in the code.


! ============================================================================ !
       __                __       __       __        __       __       __       
      /\ \              /\ \     /\ \     /\_\      /\ \     /\ \     /\ \      
     /::\ \            /::\ \   /::\ \   /:/ /     /::\_\   /::\ \    \:\ \     
    /:/\:\ \          /:/\:\ \ /:/\:\_\ /:/ /   __/:/|:| | /:/\:\ \    \:\ \    
   /:/ /::\ \        /::\ \:\_\::\_\:|_|:/ /   /\_\/ |:| |__/ /\:\ \   /::\ \   
  /:/ /:/\:\_\      /:/\:\/:/ /:/\:::/_//_/   /:/ / /|:| /\_\/  \:\_\ /:/\:\_\  
  \/_/\/_/:/ /      \:\ \::/_/\/_/|:| |:\ \  /:/ /_/ |:|/:/ /\  /:/ //:/ /\/_/  
        /:/ /        \:\ \:\_\    |:| |\:\ \/:/ /    |:/:/ /\ \/:/ //:/ /       
       /:/ /    __    \:\/:/ /    |:| | \:\/:/ /     |::/ /\:\/:/ / \/_/        
      /:/ /    /\_\    \::/ /     |:| |  \::/ /      |:/ /  \::/ /              
      \/_/     \/_/     \/_/       \/_/   \/_/       \/_/    \/_/               
                                                                                
! ============================================================================ !
