This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul id="main-menu" class="accordion"> | |
{% for link in linklists.main-menu.links %} | |
{% assign has_sub_menu = false %} | |
{% assign parent_link_active = false %} | |
{% assign child_list_handle = link.title | handle %} | |
{% if linklists[child_list_handle] and linklists[child_list_handle].links.size > 0 %} | |
{% assign has_sub_menu = true %} | |
{% for l in linklists[child_list_handle].links %} | |
{% if l.active %} | |
{% assign parent_link_active = true %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This is your tab navigation --> | |
<ul class="tabs"> | |
<li><a class="active" href="#tab1">Sample Tab One</a></li> | |
<!-- The key here is that the href ID equals the <li> ID used below --> | |
<li><a href="#tab2">Sample Tab Two</a></li> | |
<li><a href="#tab3">Sample Tab Three</a></li> | |
</ul> | |
<!-- This is your tab content --> | |
<ul class="tabs-content"> |