llTop: 0 }, 1000); }) var isShow = false; $('.footerA_zk').click(function(){ if(!isShow){ $('.footerA').css({ height:"60px", transition:'all 0.5s' }) }else{ $('.footerA').css({ height:"0", transition:'all 0.5s' }) } isShow = !isShow; })