maccaj51
asked on
javascript/jquery tabs
Hi Experts,
I have the code below and would like to have the following script...
.tabs li - they are always visible and when clicked i would like the corresponding class in .tabscontent to go to (.css("display","inline"); ) and the others to go to (.css("display","none");)
<div class="tabbed">
<ul class="tabs">
<li class="tab10">tab1</li>
<li class="tab20">tab2</li>
<li class="tab30">tab3</li>
</ul>
<ul class="tabscontent">
<li class="tab10">tab1</li>
<li class="tab20">tab2</li>
<li class="tab30">tab3</li>
</ul>
</div>
Thanks in advance
I have the code below and would like to have the following script...
.tabs li - they are always visible and when clicked i would like the corresponding class in .tabscontent to go to (.css("display","inline");
<div class="tabbed">
<ul class="tabs">
<li class="tab10">tab1</li>
<li class="tab20">tab2</li>
<li class="tab30">tab3</li>
</ul>
<ul class="tabscontent">
<li class="tab10">tab1</li>
<li class="tab20">tab2</li>
<li class="tab30">tab3</li>
</ul>
</div>
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER