.mask{height:100%; width:100%; position:fixed; _position:absolute; top:0; z-index:1000; } .opacity{ opacity:0.3; filter: alpha(opacity=30); background...
分类:
其他好文 时间:
2014-08-11 02:37:51
阅读次数:
205
jQuery弹出层效果
.black_overlay{
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: black;
z-index:1001;
-moz-opacity: 0.8;
opacity:.80;
filter: alpha(opa...
分类:
Web程序 时间:
2014-08-11 00:28:11
阅读次数:
294
做吸顶效果或是固定效果时,使用position:fixed无非是最方便的,可是万恶的IE6是没有fixed这个属性值的,而我们要使IE6能够像fixed一样固定在浏览器中的某个位置,使用onscroll改变top值是一个方法,但如果滚轮滚的快,会出现卡闪烁情况。而如高级浏览器如果也这样用,那显然.....
分类:
编程语言 时间:
2014-08-11 00:05:01
阅读次数:
373
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-08-10 18:48:50
阅读次数:
203
Description
Given a string of 0's and
1's up to
1000000 characters long and indices
i and
j, you are to answer a question whether all characters between position
min(i,j) and position
max(i,j...
分类:
其他好文 时间:
2014-08-10 18:47:30
阅读次数:
277
如果想要disable掉GridView中的item,需要做如下两件事情: 1. override Adapter 的 areAllItemsEnabled 2. override Adapter 的 isEnabled(int position) 3. 另外如果想在disable的时候,置灰对应的item,那么只...
分类:
其他好文 时间:
2014-08-10 15:55:30
阅读次数:
217
Search for a RangeGiven a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity ...
分类:
其他好文 时间:
2014-08-09 18:18:28
阅读次数:
214
//BFS#include #include using namespace std;bool used[8][8];int move[8][2]={1,2, -1,2, -2,1, -2,-1, -1,-2, 1,-2, 2,-1, 2,1};struct position{ int i,j...
分类:
其他好文 时间:
2014-08-09 11:21:17
阅读次数:
245