> I was wondering what's the best approach to share settings between to > jQuery functions? > > > * Maybe I can attach a custom event to the tabs (in the tabs function) > and simply trigger that one in the triggerTab function (that would also > proove, that I chose the name wisely :-) ). Jörn, you made some use of > custom events, don't you? Who else?
Yep! I had just the same problem, and using custom events solved that. Take a look at the accordion for implementation reference. -- Jörn Zaefferer http://bassistance.de -- "Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht! _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/