Selecting nested tabs with text link

Selecting nested tabs with text link


Hello, I have managed to select a tab using a text link as described
in an example provided in the faq. However, when I try to select a tab
within that tab the layout is messed up.
For example:
...
$maintabs = $('#tabtop').tabs();
$maintabs.tabs('select', 2);
$maintabs.tabs('load', 2);
$innertabs = $('#innermemorialtabs').tabs();
$selected = $innertabs.data('selected.tabs');
if ( $selected != 0 ) {
$innertabs.tabs('select', 0);
}
$innertabs.tabs('load', 0);
...
I am no Javascript fundi and would appreciate any help or advice you
can offer. With Thanks.