Hi Klaus,
nice to see a new release.
> * Here is an overview of the settings that can be passed in inside the
> object literal (shown values are default values):
>
> {
> fxFade: null,
> fxSlide: null,
> fxShow: null,
> fxHide: null,
> fxSpeed: 'normal',
> fxShowSpeed: null,
> fxHideSpeed: null,
> fxAutoheight: false,
> callback: null,
> selectedTabClass: 'selected',
> hiddenTabContainerClass: 'tabs-hide'
> }
>
Talking about verbosity, isn't fxFade and fxSlide and fxShow and fxHide
somewhat verbose?
Another, more important thing, consider this:
$('#container').tabs().bind('tabChange', function() {
// do stuff on every tab change, just like 'callback' above
}).bindOnce('tabChange', function() {
// do stuff only on the first tab change
});
Inside your plugin code, you would somewhere use this:
containerReference.trigger('tabChange');
Actually, there is no bindOnce (oook!), but there is still hope.
jQuery already has a nice event handling system, why not just use it for
custom events?
-- Jörn
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/