1、z-index=数字 z轴的值,当几个div重叠时,z-index数字越大的,越在上面 2、overflow:hidden(超过部分隐藏)/auto(超过时出现滚动框)/scroll(一直有滚动条) 3、浏览器兼容性问题: (1)兼容性问题:不同的浏览器基于不同的内核,对一些前端代码...
分类:
其他好文 时间:
2015-07-14 05:58:29
阅读次数:
152
主要实现 Search Bar and Search Display Controller...
分类:
移动开发 时间:
2015-07-13 22:25:00
阅读次数:
193
1、z-index=数字 z轴的值,当几个div重叠时,z-index数字越大的,越在上面 2、overflow:hidden(超过部分隐藏)/auto(超过时出现滚动框)/scroll(一直有滚动条) 3、浏览器兼容性问题: (1)兼容性问题:不同的浏览器基于不同的内核,对一些前端代码...
分类:
其他好文 时间:
2015-07-13 22:08:39
阅读次数:
101
题意:
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3...
分类:
移动开发 时间:
2015-07-13 18:40:16
阅读次数:
119
周末想做一个滚动加载图片的效果。在IE,chrome,FF中验证时,忽然发现了一个有趣的问题。问题是这样的:1.我发现鼠标滚动一次,scroll事件的处理函数执行的次数不一样。2.滚动的距离也不一样。3.点击滚动条滚动时,执行次数,滚动距离也不一样。经过验证:执行次数:在IE5,6,..
分类:
其他好文 时间:
2015-07-13 01:00:15
阅读次数:
180
var myObject = { foo: "bar", myHandler: function (evt) { // this is very contrived but will do. alert("The va...
分类:
其他好文 时间:
2015-07-12 15:38:20
阅读次数:
115
Trapping Rain Water
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0...
分类:
移动开发 时间:
2015-07-11 15:10:33
阅读次数:
164
1、辅助方法2、字符串 输入“irb”进入Ruby命令行开发环境,控制器的启动方法是在命令行中执行“rails console”。(1)字符串连接>>"foo"+"bar"=>"foobar"(2)通过特殊的句法#{}进行插值操作>>first_name="Amy"=>"Amy">>"#{firs....
分类:
其他好文 时间:
2015-07-11 14:57:13
阅读次数:
130
42 Trapping Rain Water链接:https://leetcode.com/problems/trapping-rain-water/
问题描述:
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water...
分类:
移动开发 时间:
2015-07-11 09:09:39
阅读次数:
152
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2015-07-10 20:28:55
阅读次数:
141