fixed定位按鈕在底部,鍵盤彈起,按鈕被頂上去

解決fixed定位按鈕在底部,鍵盤彈起,底部按鈕被頂上去

var h=$(window).height(); $(window).resize(function() { if($(window).height()<h){ $('.footer').hide(); } if($(window).height()>=h){ $('.footer').show(); } });ide

相關文章
相關標籤/搜索