A jQuery plugin pattern every jQuery plugin should use
Many jQuery plugins suffer from a good plugin architecture. When you write jQuery plugins you should use the plugin pattern Show archive.org snapshot described in this article which makes your plugin highly customizable and extensible.
Related article with patterns for namespaced jquery plugins Show archive.org snapshot (more detailed)