Link to home
Start Free TrialLog in
Avatar of maccaj51
maccaj51Flag for Afghanistan

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
ASKER CERTIFIED SOLUTION
Avatar of uzzidesign
uzzidesign
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maccaj51

ASKER

Thanks for your help