Hi Nalum,

It's pretty straightforward. Instead of doing this:

$.fn.pluginname = function(args) {

};

You can do this:

$.pluginname = function(args) {

}:


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Sep 24, 2009, at 10:59 AM, Nalum wrote:


Hello All,
I'm trying to create a plugin that I want to be able to call like
$.pluginname(...) where currently I have to call the plugin like this $
(...).pluginname.

Any help would be greatly appreciated.

Nalum

Reply via email to