/ Published in: jQuery
Expand |
Embed | Plain Text
(function( $ ){ $.fn.tooltip = function( options ) { var settings = { 'location' : 'top', 'background-color' : 'blue' }; return this.each(function() { // If options exist, lets merge them // with our default settings if ( options ) { $.extend( settings, options ); } // Tooltip plugin code here }); }; })( jQuery );
You need to login to post a comment.
