Jquery lite tooltip

by Aakash Chakravarthy

JavaScript

/* 
 * jQuery - Tooltip - Plugin v2.0
 * http://www.aakashweb.com/
 * Copyright 2010, Aakash Chakravarthy
 * Released under the MIT License.
 */

(function($){
    $.fn.collapser = function(options) {

        var defaults = {
            target: 'next',
            targetOnly: null,
            effect: 'slide',
            event: 'click',
            changeText: true,
            expandHtml: 'Expand',
            collapseHtml: 'Collapse',
            expandClass: '',
            collapseClass:'',
            cookieName: ''
        };
    
        var options = $.extend(defaults, options);
        
        return this.each(function(){
            
           
        });
    };
    
})(jQuery);