/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(function($) { // Shell for your plugin code $.fn.yourNameHere= function() { // Plugin code } })(jQuery);
URL: http://www.sitepoint.com/books/jquery1/