JQuery-Plugin-Boilerplate is a project mainly written in ..., it's free.
Boilerplate code for creating jQuery plugins. Based on http://docs.jquery.com/Plugins/Authoring
2 variants of patterns for creating jQuery plugins based on http://docs.jquery.com/Plugins/Authoring.
Replace all instances of simplePlugin
with the name of your plugin.
Write your plugin logic where the //Plugin Logic
comment is
Use your plugin like this
$("#selector").simplePlugin({myOption:true});
Replace all instances of complexPlugin
with the name of your plugin.
Write the methods for your plugin in the methods
object
write Intialization Logic
Use you plugin like this
$("#selector").complexPlugin({myOption:true});
$("#selector").complexPlugin('methodName');