navigator.camera.getPicture(function(uri){
//得到拍摄的图片路径
}, function(err){}, {
quality: 70,
allowEdit: true, //拍摄完进行裁剪编辑
targetWidth: 250,
targetHeight: 250,
destinationType: nav...
分类:
移动开发 时间:
2014-08-20 18:05:42
阅读次数:
287
使用多个logger时,所有logger的配置写在一个配置文件里面两个例子:1 一个继承的例子(http://logging.apache.org/log4cxx/)// file com/foo/bar.h#include "log4cxx/logger.h"namespace com { ...
分类:
其他好文 时间:
2014-08-19 18:24:55
阅读次数:
323
官网guide:http://developer.android.com/training/implementing-navigation/nav-drawer.html
官网示例:NavigationDrawer.zip
android.support.v4.widget.DrawerLayout 抽屉layout。该widget只能实现从左向右、从右向左
openD...
分类:
移动开发 时间:
2014-08-19 16:32:05
阅读次数:
238
Jquery进度条插件 Progress Bar插件应用方法 搞的我小纠结了一会,最后感谢同事分享文章,得以结局,呵呵,小经验还是要保存的 个人使用总结: <script type="text/ 网页特效" src="/Scripts/jquery-1.4.4.min.js...
分类:
Web程序 时间:
2014-08-18 20:39:13
阅读次数:
372
CSS样式命名整理 页面结构 容器: container/wrap 整体宽度:wrapper 页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 中间内容:center 导航 导航:nav 导航:mainbav/g...
分类:
Web程序 时间:
2014-08-18 18:04:42
阅读次数:
338
利用CSS实现导航栏菜单—下拉菜单。首先给出HTML下拉菜单布局格式: Stylin' with CSS - Figure 6.5 Drop-Down Menus Business ...
分类:
其他好文 时间:
2014-08-18 15:44:52
阅读次数:
286
/**导航控制器掌握:1.创建导航控制器UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:self.viewController];2.zhan (zhan 中所有的子控制...
分类:
移动开发 时间:
2014-08-17 21:11:42
阅读次数:
210
CSS样式命名整理(转)CSS命名规范CSS样式命名整理页面结构容器: container/wrap整体宽度:wrapper页头:header内容:content页面主体:main页尾:footer导航:nav侧栏:sidebar栏目:column中间内容:center导航导航:nav导航:main...
分类:
Web程序 时间:
2014-08-17 14:15:02
阅读次数:
289
.top_nav {width:100%;height:29px;/* 如果浏览器不支持渐变,使用图像作为背景 */background:url(gradient.jpg);/* Webkit: Safari 4-5, Chrome 1-9 */background: -webkit-gradien...
分类:
Web程序 时间:
2014-08-15 19:23:09
阅读次数:
253
在系统中,如果在进行耗时的操作,一般都会通知UI告之用户操作正在进行。一般情况下可以设置Cursor来设置鼠标指标的图形来通知UI,但是这样看起来不会特别明显,所以显示一个比较明显的Loading Bar加载条是普遍的选择。 耗时操作分为很多种,根据是否能得到完成的百分比分为"不可预知时间操作"(....
分类:
其他好文 时间:
2014-08-15 01:17:46
阅读次数:
180