Demo Link - http://giggleboxstudios.net/labs/offscreen-navigation/
This is a simple framework for an offscreen navigation panel. My implementation is loosely based on the Codrops multi-level push menu demo, however their design and implementation wasn't flexible enough for my needs. So I'm trying to build a better one that's easier to implement.
This implementation assumes a singular master level offscreen nav and currently doesn't support multiple offscreen navigation menus (yet).
git clone
OR download this repo and install it into a working localhost directory- ensure bower is installed globally via terminal
npm install -g bower
cd
into your working directory and run bowerbower install
- open your page in a web browser to view the results
// FILE: "css/offcanvas-structure.less"
// Make offscreen nav slide in from left
@menu-anchor: left;
// Make offscreen nav slide in from right
@menu-anchor: right;
- Node.js & NPM [NPM comes installed with Node.js]
- Bower NPM module
- JS: Modernizr.js [installed via Bower]
- JS: jQuery 1.8+ [installed via Bower]
- Pretty sure you could use Zepto if you REALLY wanted to ;)
If you find an issue with this repo, please report it in issues.
- Chrome (Win, Mac, iOS)
- Firefox (Win, Mac)
- Safari 7 (Mac, iOS)
- Opera (Win, Mac)
Need to test...
- IE 9+
- Chrome (Android)
- Safari 7 (Win)
- Safari 6 (Win, Mac, iOS)
- Native Android browser