摘要:
这两天学习react native环境,被搞得将近崩溃,作为一个前端小白,小菜鸟,js使用都不太利索,在搭建过程中遇到太多坑,失败过太多次,到最后出现文字的时候,好想抱着张靓颖唱:“终于等到你,还好我没放弃”。再此写下一片安装文档,借此与大家交流,望大家,别遇到我这样的坑,也留下印记,希望下次看到, 阅读全文
摘要:
//判断页面滚动条到达底部或者顶部 $(window).scroll(function() {//$(document).scrollTop() 获取垂直滚动的距离//$(document).scrollLeft() 这是获取水平滚动条的距离if ($(document).scrollTop() < 阅读全文
摘要:
var atr = decodeURIComponent(string);//url解码var b = atr.replace(/\+/g,' ');//正则,把所有加号替换为空格 阅读全文
摘要:
$(".wdz_nav").on("touchstart", function(e){if($(".pop_arrow").is(":hidden")){$(".pop_arrow").show();}else{$(".pop_arrow").hide();}$(document).one("to 阅读全文
摘要:
问题:fixed元素被另一个fixed元素包含的时候在chrome下fixed子元素的定位会受到父元素的影响。demo(http://jsbin.com/qumah/1): JS Bin fixed positionfixed child position absolute posit... 阅读全文