Little Correction for the second example (needless '()' in chain).
Am 01.11.2007 um 09:22 schrieb Olaf Gleba:
Example (doesn't works): var uToggle = { animationType: 'fadeIn', speed: 'fast' ... xxx: function(e) { $(e).parent().next().uToggle.animationType()(uToggle.speed); } };
... xxx: function(e) { $(e).parent().next().uToggle.animationType(uToggle.speed); ... -- Olaf Gleba : creatics media.systems tel. +49 (0)212 38 32 94 30 : fax. +49 (0)212 38 32 94 31 [EMAIL PROTECTED] : http://www.creatics.de http://www.creatics.de/keys/