Question about sub categories in the main tabs
Hi,
I try to use the ui.tabs.pack.js and i manage to get the main tab
working correctly.
I'm using this method for now listed below.
I do have a problem about sub categories links on the main tabs
selected.
When i click on the main tab, it show me sub-categories links.
When i click on the sub-categories links, the current tab that was
selected got unselected.
It somehow default to the first tab again.
How can i make it remember the initial main tab i click when i click
on the sub-category of the initial tab link ?
Hopefully this make sense and thanks for your expertise on
this. :- )
=============================================================
<script src="script/jquery-1.2.2.pack.js" type="text/javascript"></
script>
<script src="script/ui.tabs.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$('#container-4 ul').tabs({ fxFade: true, fxSpeed:
'normal' });
});
</script>
<div id="container-4">
<ul>
<li><a href="#fragment-17"><span>Home</span></a></li>
<li><a href="#fragment-16"><span>Office Supplies</
span></a></li>
</ul>
<div id="fragment-17">
<a href="/xxxx?catId=13">
Key Rings
</a>
<a href="/xxxx?catId=15">
Other Accessories
</a>
</div>
<div id="fragment-14">
<a href="/xxxxx?catId=30">
Computer Accessories
</a>
<a href="/xxxxxx?catId=31">
Camera Stand
</a>
</div>
</div>
=============================================================