Slide and swipe menu
A sliding menu that works with touchSwipe library.
Online demo
Visit plugin site.
Appszoom also uses it! So cool!
What's the difference with other sliders?
This plugin uses CSS3 transform property to move the navigation. That's why it works smoothly. Because performance matters.
- Only 1 js file (+ jQuery + touchSwipe)
- 1Kb minified
Installation
1. Grab a copy of the plugin
Using bower
bower install slide-and-swipe-menu --save-dev
Using npm
npm install slide-and-swipe-menu --save-dev
or download the plugin from GitHub
2. Load the required files
Load them in the html
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js">script>
<script src="http://labs.rampinteractive.co.uk/touchSwipe/jquery.touchSwipe.min.js">script>
<script src="../jquery.slideandswipe.js">script>
or use Browserify
require('slide-and-swipe-menu');
3. Create the HTML markup
Open / close