From ae3860306d1691148db883e70d712289faf5cfe5 Mon Sep 17 00:00:00 2001
From: Maribeth Fitzpatrick Mobile Navigation
This component requires the mobileNavigation.plugin.js file.
The mobile navigation shares similar markup to the desktop navigation. In theory, - you can abstract this mark up into a partial and include the partial within +
The mobile navigation shares similar markup to the desktop navigation. In theory,
+ you can abstract this mark up into a partial and include the partial within
.mobile
and .desktop
classes.
This component requires the site to be wrapped in a wrapper class. +
This component requires the site to be wrapped in a wrapper class.
By default this is .wrapper
.
@@ -285,11 +285,11 @@SCSS
You can have more than one instance of this component. For example, you may - want something for faceted search. Just make sure you change the +
You can have more than one instance of this component. For example, you may
+ want something for faceted search. Just make sure you change the
toggleClass
option.
By default, there is an overlay that gets inserted into the DOM by - the library. You can change the css properties for this overlay by altering +
By default, there is an overlay that gets inserted into the DOM by
+ the library. You can change the css properties for this overlay by altering
the overlayCss
property.
@@ -477,6 +477,7 @@Plugin Methods
$(function() { $('nav.primary').dropdown(); $('.search-drawer').searchDrawer(); + $('.mobile').mobileNavigation(); }); diff --git a/index.html b/index.html index b09ce3c..38521b9 100755 --- a/index.html +++ b/index.html @@ -34,6 +34,7 @@ +@@ -550,6 +618,7 @@++ ++ + ++Pseudo Element
$('header.primary.sticky').stickyHeader(); $('.search-drawer').searchDrawer(); $('nav.primary').dropdown(); + $('.mobile').mobileNavigation(); });