.layer{ width: 100%; position: absolute; left: 0; right: 0; top: 0; bottom: 0; -moz-opacity: 0; filter: alpha(opacity=50);...
分类:
Web程序 时间:
2014-08-12 08:58:33
阅读次数:
194
Hibernate单向多对一在级联删除时,会出现一些问题。
下面模拟我遇到的问题:
这次模拟与之前的一次模拟方法一直,博客:http://blog.csdn.net/openjdk8/article/details/38424403
模拟场景:有一个部门表t_dept,职位表t_position。
需求:当删除部门表时,不管职位表有没数据,照样删除。删除职位表就直接删除。
1,建...
分类:
系统相关 时间:
2014-08-12 00:48:23
阅读次数:
361
public class HomeAdapter extends BaseAdapter
{
public int getCount()
{
return names.length;
}
public View getView(int position, View convertView, ViewGroup parent)
{
View view = View.inflate...
分类:
其他好文 时间:
2014-08-11 18:06:42
阅读次数:
230
<html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><title>阴影文字</title></head><body><divstyle="font-size:36pt;font-family:Arial;color:red;position:relative;filter:blur(add=1,direction..
分类:
Web程序 时间:
2014-08-11 15:24:33
阅读次数:
187
public static string StreamToString(Stream stream) { stream.Position = 0; using (StreamReader stremReader = new S...
分类:
其他好文 时间:
2014-08-11 14:58:22
阅读次数:
175
在页面左右一个悬浮div兼容IE6 IE7 8 9 Firefox chrome#identifier-pannel { bottom: 345px; margin-left: 512px; position: fixed; _position: absolute; l...
分类:
其他好文 时间:
2014-08-11 10:03:41
阅读次数:
208
.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