pepebe
5/14/2013 - 8:38 PM

Foundation TOPBAR in MODX

Foundation TOPBAR in MODX

<div class="fixed contain-to-grid">
<nav class="top-bar">
  <ul class="title-area">
    <!-- Title Area -->
    <li class="name">
      <h1><a href="[[++site_url]]">[[++site_name]] </a></h1>
    </li>
    <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
    <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
  </ul>
  <!-- /.title-area -->

    [[Wayfinder?
        &startId=`0`
        &excludeDocs=`1,30,31`

        &outerClass=`left`

        &outerTpl=`foundation_navigation_topbar_wf_outerTpl`
        &rowTpl=`foundation_navigation_topbar_wf_rowTpl`

        &innerTpl=`foundation_navigation_topbar_wf_innerTpl`
        &innerRowTpl=`foundation_navigation_topbar_wf_innerRowTpl`
        
        &parentRowTpl=`foundation_navigation_topbar_wf_parentRowTpl`
        &cacheResults=`1`
        &cacheTime_=`0`
    ]]
    
    [[Wayfinder?
        &startId=`1`

        &outerClass=`right`

        &outerTpl=`foundation_navigation_topbar_wf_outerTpl`
        &rowTpl=`foundation_navigation_topbar_wf_rowTpl`

        &innerTpl=`foundation_navigation_topbar_wf_innerTpl`
        &innerRowTpl=`foundation_navigation_topbar_wf_innerRowTpl`
        
        &parentRowTpl=`foundation_navigation_topbar_wf_parentRowTpl`
        &cacheResults=`1`
        &cacheTime_=`0`        
    ]]    

</nav>
</div>
<!-- /-fixed.contain-to-grid -->