Building Your First jQuery Plugin
Learn how to create a jquery plugin
Making a jQuery Plugin Truly Customizable
A Plugin Development Pattern