What Error in my Slide Menu
-
Hi, this is one Slide Menu tutorial, i need to use it in my wordpress blog as sidebar.only i need right side menu.
Header<script src="<?php echo get_template_directory_uri(); ?>/js/classie.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/modernizr.custom.js"></script>
Template page
<div class=”cbp-spmenu cbp-spmenu-vertical cbp-spmenu-right” id=”cbp-spmenu-s2″></div>
<button id=”showRight”>Show/Hide</button><script> var menuRight = document.getElementById( 'cbp-spmenu-s2' ), body = document.body; showRight.onclick = function() { classie.toggle( this, 'active' ); classie.toggle( menuRight, 'cbp-spmenu-open' ); disableOther( 'showRight' ); }; if( button !== 'showRight' ) { classie.toggle( showRight, 'disabled' ); }} </script>
Everything showing, but no sliding animation. What codes i have to use to get the same slide menu animation ?. -Thank You-
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘What Error in my Slide Menu’ is closed to new replies.