IwouldliketousejQuerytoraiseandlowerthismenu.Canyouhelpme?Theendresultshouldbethis...IstartedthecodebutIdonotknowhowtocontinue.
$("#esconder_menu").on("click", function(){
// #header-main <---- esse é o id do menu a subir.
});
IwouldliketousejQuerytoraiseandlowerthismenu.Canyouhelpme?Theendresultshouldbethis...IstartedthecodebutIdonotknowhowtocontinue.
$("#esconder_menu").on("click", function(){
// #header-main <---- esse é o id do menu a subir.
});
You did not give too many details, but if you're just missing the animation of collecting the menu, slideUp()
should resolve :
$("#esconder_menu").on("click", function(){
$('#header-main').slideUp();
});