Skip to content

datanautsuk/dn-Tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dn-Tabs

Small jQuery extension to create tabbed interfaces

Example

<!-- Put everything inside a container div -->
<div id="tabs">
  <ul>
    <!-- Make sure the hrefs match up to the IDs on the content divs below -->
    <li><a href="#tab-one">Tab one</a></li>
    <li><a href="#tab-two">Tab two</a></li>
    <li><a href="#tab-three">Tab three</a></li>
  </ul>
  
  <!-- Make sure these IDs match the hrefs on the anchors -->
  <div id="tab-one">
    This is tab one!
  </div>
  <div id="tab-two">
    This is tab two!
  </div>
  <div id="tab-three">
    This is tab three!
  </div>
</div>

<script type="text/javascript">
  $(function() {

    $('#tabs').dnTabs();

  });
</script>

About

Small jQuery extension to create tabbed interfaces

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •