Submit your widget

a jQuery plugin for toggle show/hide sidebar

Created 5 years ago   Views 37556   downloads 8783    Author makotot
a jQuery plugin for toggle show/hide sidebar
View DemoDownload
99
Share |

Installation

For installation you gone need the following plugins, just include the latest version of jQuery, jQuery UI and dropList plugin

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="js/jquery.dropList.1.0.0.js"></script>

Then include the External CSS library

<link rel="stylesheet" type="text/css" href="css/sidebar.css" />

Finally include the script to initialize the dropList


$('#jsi-nav').sidebar({
trigger: '.jsc-sidebar-trigger',
pullCb: function () { console.log('pull'); },
pushCb: function () { console.log('push'); }
});

 

 

Tag: sidebar