Line 1: | Line 1: | ||
− | // | + | // Closes the Responsive Menu on Menu Item Click |
− | + | $('.navbar-collapse ul li a').click(function(){ | |
− | + | $('.navbar-toggle:visible').click(); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}); | }); | ||
− | |||
− | // | + | // Offset for Main Navigation |
− | $(' | + | $('#mainNav').affix({ |
− | + | offset: { | |
− | }) | + | top: 100 |
+ | } | ||
+ | }) |
Revision as of 04:25, 9 October 2016
// Closes the Responsive Menu on Menu Item Click $('.navbar-collapse ul li a').click(function(){ $('.navbar-toggle:visible').click(); });
// Offset for Main Navigation $('#mainNav').affix({ offset: { top: 100 } })