I am using jquery tabs UI as the navigation menu for my application.
The default behavior of jquery tabs is to open the target "href" of
the tab in a panel. I need a way to teach it to open the tab href in
the browser as a new page instead of inline ajax content.
Is that doable at all? I hooked into select function of the tabs but
when i look at ui.tab.href in debugger, it is the id of the tab i.e.
some value like "ui-tabs-15"
<script type="text/javascript">
$(function() {
$('#container-1 ul').tabs( {
select: function(e, ui) {
// ui.tab is an 'a' object - href can be taken
directly as
var url = ui.tab.url;
document.location = url;
return false;
}
}).show();
});
</script>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---