摘要: var scrollTop = document.documentElement.scrollTop || document.body.scrollTop 阅读全文
posted @ 2020-04-02 10:47 Qionghuihe 阅读(88) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-01 18:01 Qionghuihe 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-01 17:59 Qionghuihe 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-25 10:24 Qionghuihe 阅读(0) 评论(0) 推荐(0) 编辑
摘要: (无效)当输入时,软键盘被唤起,页面的 fixed 元素将失效(可以改为 absolute 定位,调整top位置),所以当页面超过一屏且滚动时,失效的 fixed 元素就会跟随滚动 滚动流畅性问题:加 -webkit-overflow-scrolling: touch; 第三方插件貌似也能解决这个问 阅读全文
posted @ 2020-03-24 15:33 Qionghuihe 阅读(148) 评论(0) 推荐(0) 编辑
摘要: $("#Survey_description").css("marginTop"); $("#Survey_description").css("paddingTop") 阅读全文
posted @ 2020-03-24 14:47 Qionghuihe 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: 这样写是不行的 $("#sidebar_content").css({ "padding-top": "10px!important" }); 需要这样写 $("#sidebar_content").css("cssText", "padding-top:10px!important"); 但是这样 阅读全文
posted @ 2020-03-19 17:59 Qionghuihe 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 注意jquery文件必须在最开始引用进来,位置在<script type="text/javascript" src="~/Content/jqgrid/jquery.jqGrid.min.js"></script>之前 阅读全文
posted @ 2020-03-17 09:52 Qionghuihe 阅读(1911) 评论(0) 推荐(0) 编辑