jQuery Plugin SwipeNav

How to use

HTML

<script type="text/javascript" href="js/jquery-swipe-nav-plugin.js"></script>
<link type="text/css" rel="stylesheet" href="css/jquery-swipe-nav.css">

Please read the source.

JS

$('#swipeNav').swipeNav();

Please add the action of the plug-in to the target element as follows.

Parameter Description Default
menu Target to be set #swipeNav
menuBtn Subject to trigger #menuBtn
body The overall element body
menuSpeed Display speed 300
$('#slideNav').swipeNav({
	'menu' : '#differentNav',
	'menuBtn' : '#differentNavBtn',
	'body' : '#content',
	'menuSpeed' : 500
});