码迷,mamicode.com
首页 >  
搜索关键字:position    ( 9475个结果
遮罩层的实现
.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
div+js 弹出层
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
让IE6支持position:fixed的方法,CSS expression与JavaScript eval讲解
做吸顶效果或是固定效果时,使用position:fixed无非是最方便的,可是万恶的IE6是没有fixed这个属性值的,而我们要使IE6能够像fixed一样固定在浏览器中的某个位置,使用onscroll改变top值是一个方法,但如果滚轮滚的快,会出现卡闪烁情况。而如高级浏览器如果也这样用,那显然.....
分类:编程语言   时间:2014-08-11 00:05:01    阅读次数:373
leetcode 刷题之路 70 earch Insert Position 二分查找插入位置
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
UVA - 10324 Zeros and Ones
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
置灰GridView 的disable Item
如果想要disable掉GridView中的item,需要做如下两件事情: 1. override Adapter 的 areAllItemsEnabled 2. override Adapter 的 isEnabled(int position) 3. 另外如果想在disable的时候,置灰对应的item,那么只...
分类:其他好文   时间:2014-08-10 15:55:30    阅读次数:217
[leetcode]Search for a Range
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
poj 2243 bfs 利用 结构体中的step成员保存步数 ,STL的队列
//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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!