码迷,mamicode.com
首页 >  
搜索关键字:scroll bar    ( 8099个结果
Html页面加回滚
//根据浏览页面的高度,显示回滚标签$(window).scroll(function () {if ($(window).scrollTop() >= ($(window).height() - 200)) {$('.top-box').fadeIn();}else {$('.top-box')....
分类:Web程序   时间:2015-08-04 15:02:22    阅读次数:138
Keep two divs sync scroll and example
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手册中各种符号的意思
我们经常在查css手册的时候,看到很多符号都不认识,百度了一下,收藏下来。与大家分享比如 font属性font:[ [||||]?[ /]?] | caption | icon | menu | message-box | small-caption | status-bar又如:border-ra...
分类:Web程序   时间:2015-08-04 12:42:44    阅读次数:205
iOS 应用隐藏状态栏
有时候在 Storyboard 和 target 里的设定并不足以使得应用能够完全隐藏状态栏。这时候需要到 Info.plist,添加一项:View controller-based status bar appearance,并把值设为 NO。
分类:移动开发   时间:2015-08-04 09:15:36    阅读次数:113
UITabBarController
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
leancloud js SDK 学习
测试页面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
Largest Rectangle in Histogram
问题描述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
第五课 课程重点(z-index、overflow、浏览器兼容性)
1、z-index=数字 z轴的值,当几个div重叠时,z-index数字越大的,越在上面 2、overflow:hidden(超过部分隐藏)/auto(内容超过边框时出现滚动条)/scroll(一直有滚动条) 3、浏览器兼容性问题: (1)兼容性问题:不同的浏览器基于不同的内核,对一些...
分类:其他好文   时间:2015-08-02 11:26:24    阅读次数:127
Varnish 生产环境下配置优化
后端服务器健康检查 #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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!