Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation show li tabs onclick

    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.

    Code:
    <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>
    Code:
    <a href="#" class="button">
    					<span>Click Here</span>
    				</a>

  • #2
    New to the CF scene
    Join Date
    May 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    never mind, I figured it out. Thank you!

  • #3
    New Coder
    Join Date
    Jun 2011
    Posts
    30
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Tidy up that code


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •