[jQuery] extending functions?
Hi all,
Glaring newbie here, please be gentle. I'm working on some UI widgets
built using jQuery. I started by extending the simple accordion code
found on the plugins page (http://fmarcia.info/jquery/accordion.html),
and so far I've got this:
http://redmonk.net/files/tmp/js/accordion2.html
I've added some things like being able to pass in callbacks (onToggle,
onActive, onBackground, shouldBackground). Based on this code, I need
to build a wizard model (must select in order - eventually based on
form validation). I started this whole thing with mootools, and have
moved away from it since it was getting overly complicated and I could
not make it work in IE.
So, my accordion is defined via $.accordion = function (param, param,
options) { ... }
Is it possible to extend this accordion such that I maintain its
features and can then extend it with new features?
Thanks for any help,
--Steve
--
Steve Ivy
sivy@userwire.com
irc: redmonk or monkinetic
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/