Simple Slide up jQuery

A simple sliding up (usefull for footer menu on mobile, etc)

HTML

 
<h4 class="mobileOnly flip notactive">HELP</h4> 
<nav class="footer-navigation-wrapper panel" role="navigation"></nav> 

jQuery

    $(".flip").click(function(){
        $(".panel").slideToggle("fast");
		  $('.notactive').removeClass('notactive').addClass('active');
		  e.preventDefault();
    }); 

Leave a Reply

Your email address will not be published. Required fields are marked *