jquery - Foundation 6 - Javascript Error -
i'm trying use hamburger menu in foundation 6 , whenever try toggle menu, nothing shows up. icon. when check console log, states : tried initialize responsive-menu on element has foundation plugin. app.js:9927. it'll mean alot if guys can me out, i've been stuck on problem weeks ! i'll post html code below .
<div class="title-bar" data-responsive-toggle="main-nav" data-hide-for="medium"> <button class="menu-icon" type="button" data-toggle></button> </div> <div class="top-bar-left" id="main-nav"> <ul class="menu vertical medium-horizontal" data-responsive-menu="drilldown medium-dropdown" data-auto-height="true" data-animate-height:"true"> <li><a class="scrollto" data-scrollto="hero" href="#">home</a></li> <li><a class="scrollto" data-scrollto="first_container" href="#">why me</a></li> <li><a class="scrollto" data-scrollto= "services_container" href="#">services</a></li> <li><a class="scrollto" data-scrollto= "contact_page" href="#">contact</a></li> </ul> </div>
Comments
Post a Comment