Hello Karl, Thanks for the reply. I'll give that a shot when I get the chance.
The way I currently write my plugin is by doing this. $.fn.extend({ pluginname: function(){ ... } }); I'll find out when I test it but I'll ask anyway, would doing $.extend({ pluginname: function(){ ... } }); be the same as doing $.pluginname = function(){ ... } Again, thanks for your help. On Sep 25, 2:38 pm, Karl Swedberg <k...@englishrules.com> wrote: > Hi Nalum, > > It's pretty straightforward. Instead of doing this: > > $.fn.pluginname = function(args) { > > }; > > You can do this: > > $.pluginname = function(args) { > > }: > > --Karl > > ____________ > Karl Swedbergwww.englishrules.comwww.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