On Nov 17, 4:37 pm, owen <[EMAIL PROTECTED]> wrote:
> Is it possible to create a tab that links directly to another page? I
> can't load the contents of the other page because of limitations in
> the app, but I want to keep the link consistent with the other tabs.
>
> How canI do that?
>
> -- Owen
Try using the click handler for that. If it returns false, the tab
won't switch. You can utilize that. Say you add a class "external" to
all such tab links:
var $tabs = $('#tabs').tabs({
click: function(tab) {
if ( $(tab).is('.external') ) {
location.href = tab.href;
return false;
}
}
});
--Klaus