//根据浏览页面的高度,显示回滚标签$(window).scroll(function () {if ($(window).scrollTop() >= ($(window).height() - 200)) {$('.top-box').fadeIn();}else {$('.top-box')....
分类:
Web程序 时间:
2015-08-04 15:02:22
阅读次数:
138
srcDiv has visible horizontal scrollbar.(style="overflow:auto;")targetDiv has no scrollbar.(style="overflow:hidden;")For instance, srcDiv is a tablevi...
分类:
其他好文 时间:
2015-08-04 14:57:35
阅读次数:
106
我们经常在查css手册的时候,看到很多符号都不认识,百度了一下,收藏下来。与大家分享比如 font属性font:[ [||||]?[ /]?] | caption | icon | menu | message-box | small-caption | status-bar又如:border-ra...
分类:
Web程序 时间:
2015-08-04 12:42:44
阅读次数:
205
有时候在 Storyboard 和 target 里的设定并不足以使得应用能够完全隐藏状态栏。这时候需要到 Info.plist,添加一项:View controller-based status bar appearance,并把值设为 NO。
分类:
移动开发 时间:
2015-08-04 09:15:36
阅读次数:
113
1.组成最下层是:tabbar 中间是:custom content 最上面:Tab bar controller viewTab Bar上面显示的每一个Tab都对应着一个View Controller.ViewController本身具有一个tabBarItem属性,只要设置它,就能改变Tab B...
分类:
其他好文 时间:
2015-08-03 18:36:01
阅读次数:
124
$(".rankDetail").scroll(function(){?//rankDetail是大容器的class
????????var?scrollHeight?=?$(this).scrollTop();
????????var?rankListCount?=?$(".rankList").length;??//rankL...
分类:
其他好文 时间:
2015-08-03 11:43:59
阅读次数:
125
测试页面AV.initialize("id", "key");var TestObject = AV.Object.extend("TestObject");var testObject = new TestObject();testObject.save({foo: "bar"}, { succ....
分类:
Web程序 时间:
2015-08-02 23:10:58
阅读次数:
230
问题描述Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the ...
分类:
其他好文 时间:
2015-08-02 11:38:09
阅读次数:
96
1、z-index=数字 z轴的值,当几个div重叠时,z-index数字越大的,越在上面 2、overflow:hidden(超过部分隐藏)/auto(内容超过边框时出现滚动条)/scroll(一直有滚动条) 3、浏览器兼容性问题: (1)兼容性问题:不同的浏览器基于不同的内核,对一些...
分类:
其他好文 时间:
2015-08-02 11:26:24
阅读次数:
127
后端服务器健康检查
#vim/etc/varnish/health_check.vcl
probebackend_healthcheck{
.interval=5s;
.timeout=3s;
.window=10;
.threshold=8;
.request=
"GET/favicon.icoHTTP/1.1"
"Host:v5.ele.me"
"Connection:close"
"Accept-Encoding:foo/bar";
}
#后端服务器地址池配..
分类:
其他好文 时间:
2015-08-01 19:15:27
阅读次数:
413