Customizing Foundation Top-Bar (jQuery) -


when looking solution change 'back'-text on mobile top-bar of foundation, came across solution:

$(document).foundation('topbar', {     index : 0,     stickyclass : 'sticky',     custom_back_text: true,     back_text: 'custom_text',     init : true }); 

it it's supposed do, breaks other parts, eg orbit slideshow isn't working anymore. can tell me, problem , solution might be? html looks this:

<div class="contain-to-grid sticky">   <nav class="top-bar" data-topbar>     <ul class="title-area">       <li class="name show-for-touch"><img src="img/logo-top-bar.svg"></li>       <li class="toggle-topbar menu-icon"><a href="#"><span>menĂ¼</span></a></li>     </ul>     <section class="top-bar-section">       <ul class="left">         <li class="active"><a href="#">home</a></li>         <li class="has-dropdown"><a href="#">media</a>           <ul class="dropdown">             <li><a href="#">montag</a></li>             ...           </ul>         </li>         <li><a href="#">news</a></li>         <li class="has-dropdown"><a href="#">other</a>           <ul class="dropdown">             <li><a href="#">company</a></li>             ...           </ul>         </li>       </ul>     </section>   </nav> </div> 

thanks in advance florian


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -