...

View Full Version : show li tabs onclick



dmacndawk
06-30-2011, 10:08 AM
hello,

I have a tabbed interface and I have four tabs. I only want one tab to show onload and then when the user clicks on a button, I want the other three tabs to show. Here's my code. I tried many things but it doesn't display right.


<ul class="tabs">

<li><a href="#" title="content_1" class="tab">General</a></li>
<li><a href="#" title="content_2" class="tab">Functional</a></li>
<li><a href="#" title="content_3" class="tab">SLA</a></li>
<li><a href="#" title="content_4" class="tab">Pricing</a> </li>

</ul>


<a href="#" class="button">
<span>Click Here</span>
</a>

dmacndawk
06-30-2011, 12:16 PM
never mind, I figured it out. Thank you!

Msuth
06-30-2011, 05:05 PM
Tidy up that code :p



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum