Tabslet
Tabslet copied to clipboard
Add options for custom selectors.
This allows users to pass a selector for the tab content and any selector for tab links. It keeps the defaults.
I'm fixing the new conflicts now…
@vdw ready to be merged — if you agree with my changes!
:+1:
Could really use targets classes so the tab list can be outside the scope of the tab contents.
somewhere else on the page
<div class="tab-list">
<a href="overview">Overview</a>
<a href="directions">Directions</a>
</div>
main content
<div class="tabs">
<div class="tab" id="overview">Tab 1 Content</div>
<div class="tab" id="directions">Tab 2 Content</div>
</div>
@jasonfarrell @vdw Any luck fixing those merge conflicts?
This would be amazing! @vdw