CSS3
居然会在隐藏显示的时候触发,真心太神奇了貌似我还是写了大循环,怎么样才能优化这个循环呢加载图片:已经用到过好多次了function loadImg(url){
var img = new Image(); //创建一个Image对象,实现图片的预下载 img.s...
分类:
其他好文 时间:
2014-05-16 04:03:56
阅读次数:
271
Air Jordan 11 Bred Nubuck.The Air Jordan 11
"Bred" Nubuck edition is merely a sample but its intriguing nonetheless. The
nubuck Air Jordan 11 swaps th...
分类:
其他好文 时间:
2014-05-16 03:49:41
阅读次数:
282
We are happy to announce the release of kbmMW v.
4.50.00 Beta Professional and Enterprise Edition with XE6 support.4.50.00 Beta 1
May 12 2014 New stuf...
分类:
其他好文 时间:
2014-05-16 03:34:32
阅读次数:
606
List listGroup = sysGroupBll.Where(o => o.IsSb
== true, o => o.Id).ToList(); List items = new List(); foreach (var group in
listGroup) { items.Add(new...
分类:
Web程序 时间:
2014-05-16 03:30:39
阅读次数:
401
最近要在页面上加一个时间段的选择控件,便上网搜寻一番,但找到的答案大都没有考虑时间段跨年的情况,所以做了些修改本周的开始和结束日期```javascript//当前日期var
now = new Date();//今天是一周的第几天var nowDayForWeek = now.getDay(...
分类:
编程语言 时间:
2014-05-16 03:27:59
阅读次数:
798
使用new的Code都违反了DIP.但是,依赖于稳定的具体类,是无害的.例如string.另一方面,对于正在开发中的APP,很多具体类是易变的.此时应该依赖于抽象接口.Factory模式:只依赖于抽象接口就能创建出具体对象的实例.对Test
Fixture使用工厂编写UT时,希望把一个模块和它使用的...
分类:
其他好文 时间:
2014-05-15 13:43:56
阅读次数:
312
public class Test{ public static void
main(String args[]){ int i[]= new int[1]; System.out.println(i.equals(0));
}}//false...
分类:
其他好文 时间:
2014-05-15 10:03:08
阅读次数:
216
直接上代码function test () { } document.write(typeof
test() + "") document.write(typeof new test() +
"")输出结果undefinedundefined好理解,因为test函数没有返回值。那new的时候为什么会...
分类:
编程语言 时间:
2014-05-15 10:00:35
阅读次数:
367
public class Test { public static void
main(String[] string){ int[] i = new int[10];
System.out.println(i.equals(null)); }...
分类:
其他好文 时间:
2014-05-15 09:54:00
阅读次数:
250
1.菜单栏上的弹出窗口voidMainWindow::on_new_action_triggered()
{
MyDialogmyDialog;//MyDialog是一个ui
myDialog.setModal(true);
myDialog.exec();
/*******上面的写法弹出的窗口挡住后面的窗口***********/
/*******下面的写法弹出的窗口不挡住后面的窗口,并且可以弹出多..
分类:
其他好文 时间:
2014-05-15 08:29:18
阅读次数:
327