window.onpageshow = function(event) { if (event.persisted) {alert("From back / forward cache."); } };页面显示(pageshow)和页面隐藏(pagehide)事件 分类: web开发学习 2012-...
分类:
其他好文 时间:
2014-08-27 12:41:57
阅读次数:
380
Sending is time spent uploading the data/request to the server. It occurs between blocking and waiting. For example, if I post back an ASPX page this ...
分类:
其他好文 时间:
2014-08-27 10:33:57
阅读次数:
285
应用导航的一致性是整体用户体验的重要组成部分,如果app的导航方式不一样,用户不能很快理解,那么这个应用会让用户有很大的挫败感,大大地影响了用户体验。
Android 3.0后,系统像大家介绍了其在全局导航表现上的重大改变。全面地理解“Back”以及“Up”的导航效果以及意义,能够大大地减少用户的学习时间,用户在使用过程中很快能够学习如何在应用的各个界面间的切换。...
分类:
移动开发 时间:
2014-08-27 01:39:36
阅读次数:
318
C++11支持range-based for循环。这是一个很方便的特性,能省挺多代码。以下代码就能很方便的遍历vector中的元素,并打印出来:12345678std::vector int_vec;int_vec.push_back(1);int_vec.push_back(2);//如果要修改i...
分类:
编程语言 时间:
2014-08-26 15:25:06
阅读次数:
308
http://en.wikipedia.org/wiki/Histogram_equalization#Back_projection
Backprojection
The back projection (or"
project") of a histogrammed image is the re-application of themodified histogram to th...
分类:
其他好文 时间:
2014-08-26 11:37:15
阅读次数:
270
Android中通过双击返回键退出应用 在Android应用程序,经常可以通过双击返回键退出应用程序,例如QQ空间。下面将通过代码演示该过程。1.设置退出标志符号 boolean isExist=false;默认为fasle2.覆写onKeyDown()方法 监听Back键,当keyCode==K....
分类:
移动开发 时间:
2014-08-26 11:32:35
阅读次数:
253
当图片不能设为背景的时候,图片上需要配文字,文字div就需要设成浮动层position:absolute;但是这时,这个浮动div无法显示在img中间位置,不同分辨率的移动设备会显示位置错乱这时可以将浮动div设成相对body的定位,.bonus-back { height: 256px; wi.....
分类:
其他好文 时间:
2014-08-25 20:46:24
阅读次数:
175
----2014.8.25日期类型转成刻度字符串select to_char(back_date,'DD-MM-YYYY HH:MI:SS') from BACKUP_SERVICE_LOG;insert into出错可以做Log记录EXECUTE DBMS_ERRLOG.CREATE_ERROR_...
分类:
数据库 时间:
2014-08-25 18:48:44
阅读次数:
243
Representing a shout-to his fans in China, the What the KD 6 may be the product of NIKEiD's Player Edition Program. Kevin Durant carried the kicks las...
分类:
其他好文 时间:
2014-08-25 13:17:14
阅读次数:
182
1.点击返回键,提示用户是否要退出 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { AlertDialog.Builder dia...
分类:
其他好文 时间:
2014-08-24 22:10:23
阅读次数:
244