Is there a way to modify my code so that I can simply have my navigation menu slide from left to right instead from top to bottom and back up? If not, what would be a clean way to write the jquery code to have the menu slide in from left to right and back?
jQuery:
$(".nav-dropdown-btn").on("click", function() {
if ($(".nav-menu").css("display") == "none" ) {
$(".nav-menu").slideDown();
} else {
$(".nav-menu").slideUp();
}
});