Easiest way for creating side menus CSS3 transitions
Set up on your body the position
Left sidemenu
<body class="sidemenu-left">
Right sidemenu
<body class="sidemenu-right">
After body Side menu
<div id="sidemenu">
...
</div>
jQuery for toggle sidemenu
<script>
$("#sidemenu-toggle").click(function(e) {
e.preventDefault();
$("body").toggleClass("toggle-sidemenu");
});
</script>
See example: http://yasinkocak.github.io/fixed-sidemenu
- Source hosted at GitHub
- Report issues, questions, feature requests on GitHub Issues
Pull requests are very welcome!
Released under the MIT License http://opensource.org/licenses/MIT
Copyright © 2015 Yasin Kocak (http://yasin.kocak.io)