<div class="large-12 columns">
<h1><%= @page_title %></h1>
<h4 class="subheader">The Foundation Top Bar gives you a great way to display a complex navigation bar on small or large screens.</h4>
- <div class="sticky">
+
<nav class="top-bar">
<ul class="title-area">
<!-- Title Area -->
</ul>
</section>
</nav>
- </div>
<hr>
</div>
<script src="<%= asset_path %>/vendor/custom.modernizr.js"></script>
</head>
<body class="antialiased">
+
+ <div class="fixed">
<nav class="top-bar">
<ul class="title-area">
<!-- Title Area -->
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
- <li><a href="<%= features_path %>">Features</a></li>
- <li><a href="<%= features_path %>">Features</a></li>
- <li><a href="<%= features_path %>">Features</a></li>
- <li><a href="<%= features_path %>">Features</a></li>
- <li><a href="<%= features_path %>">Features</a></li>
- <li><a href="<%= features_path %>">Features</a></li>
- <li><a href="<%= features_path %>">Features</a></li>
- <li><a href="<%= features_path %>">Features</a></li>
<li class="divider"></li>
<li><a href="<%= features_path %>">Features</a></li>
<li class="divider"></li>
</ul>
</section>
</nav>
+ </div>
<% @page_title = "4 Documentation" %>
<div class="row">
$('body').css('padding-top','0');
window.scrollTo(0);
} else {
- topbar.parent().toggleClass('fixed');
+ topbar.parent().addClass('fixed');
$('body').css('padding-top',offst);
}
- // check for sticky
- this.sticky();
-
})
.on('click.fndtn.topbar', '.top-bar .has-dropdown>a', function (e) {
// Put element back in the DOM
this.settings.$section.appendTo(this.settings.$topbar);
+ // check for sticky
+ this.sticky();
},
largestUL : function () {