I do something like this whenever I want to extend a widget, what do
you think?
(function($) {
/**
* Extend Tabs to add strip spacer
**/
$.fn.extend($.ui.tabs.prototype,{
_original_init : $.ui.tabs.prototype._init,
_init: function() {
this._original_init();
this.element.children('.ui-tabs-nav').after
('<div class="ui-tabs-strip-spacer"></div>');
}
});
})(jQuery);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---