user1833620
user1833620

Reputation: 781

Changing Menu Tab content with Jquery

I have trouble with the tab menu that... When i click on the tab menu, the content is not showing up.. (layer)

here is my fiddle demo http://fiddle.jshell.net/By9kH/

please help me

Upvotes: 0

Views: 26

Answers (1)

emerson.marini
emerson.marini

Reputation: 9348

Your href attributes are all the same, and the values are just a hash. This should work:

<li class="txt1">
    <a href="#dir1"><span>ABC</span></a> 
</li>
<li class="txt2">
    <a href="#dir2"><span>ABC</span></a> 
</li>
<li class="txt3">
    <a href="#dir3"><span>ABC</span></a> 
</li>

Demo: http://fiddle.jshell.net/By9kH/1/

Upvotes: 1

Related Questions