摘要:
//footer点击添加active class var indexFooter= document.querySelectorAll('#index_footer li'); for (var i = 0;i < indexFooter.length; i++) { indexFooter[i].onclick=function(){ ... 阅读全文
摘要:
//安卓弹出键盘隐藏fixed定位相关的元素(obj必须是class) function displayFixed(obj){ var h = document.body.scrollHeight; window.onresize = function(){ if (document.body.scrollHeight < h) { doc... 阅读全文