[jQuery] Writing a plugin

2008-11-21 Thread halcyonandon
Hi, I'm new to JQuery, but I need to convert some regular, working, javascript code into a JQuery plugin. I'll need to expand on this code once its in plugin form, but for now its just converting this existing code into a working JQuery plugin. I've reviewed the documentation on plugin authorin

[jQuery] Writing a plugin - tips needed

2007-10-16 Thread sgrover
I'm working on a jQuery plugin, which is primarily a series of utility functions. I need to worry about namespace problems, so I have opted for the option to add an object to the base jQuery object. i.e. jQuery.myObj = { . . . }; What I'm not clear on is if this is the best approach. Thus