1.document.write("");为 输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document->html->(head,body) 4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,docume...
分类:
编程语言 时间:
2015-03-13 12:30:59
阅读次数:
255
一个动画效果by 伍雪颖#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)@interfaceViewController ()@end@implementation ViewController- (void)viewDid...
分类:
其他好文 时间:
2015-03-13 10:31:28
阅读次数:
113
当习惯了使用linux环境处理事务时,总少不了截图的需求。windows环境下有各种截图工具方便大家进行截图处理,那么linux环境下都有哪些截图方式或工具呢?这里就给大家盘点一下linux环境下几种截图方式:
(1)使用键盘功能键Print Screen或Alt+Print Screen组合键来抓图
这种方式当属最简单的截图方式,可以借助Print...
分类:
系统相关 时间:
2015-03-12 22:35:49
阅读次数:
224
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><me..
分类:
其他好文 时间:
2015-03-12 15:22:44
阅读次数:
110
1.屏幕尺寸Screen size
即显示屏幕的实际大小,按照屏幕的对角线进行测量。
为简单起见,Android把所有的屏幕大小分为四种尺寸:小,普通,大,超大(分别对应:small, normal, large, and extra large).
应用程序可以为这四种尺寸分别提供不同的自定义屏幕布局-平台将根据屏幕实际尺寸选择对应布局进行渲染,这种选择对于程序侧是透明的。
2.屏幕长宽...
分类:
移动开发 时间:
2015-03-11 17:30:57
阅读次数:
207
开启Mac Mini上面的VNC。1) 打开“系统偏好设置”(System Preference),双击打开“共享”(Sharing)项。2)在左侧将“屏幕共享”(Screen sharing) 勾选上(或者 Remote Management)3) 再点击 “电脑设置“(Computer Sett...
分类:
系统相关 时间:
2015-03-11 14:36:08
阅读次数:
554
Android Touch Screen 与传统Click Touch Screen不同,会有一些手势(Gesture),例如Fling,Scroll等等。这些Gesture会使用户体验大大提升。Android中的 Gesture识别(detector)是通过GestureDetector.OnGe...
分类:
移动开发 时间:
2015-03-11 12:38:34
阅读次数:
149
C# 获取屏幕的大小WinForm:intiActulaWidth =Screen.PrimaryScreen.Bounds.Width;intiActulaHeight =Screen.PrimaryScreen.Bounds.Height ;WPF下的:doubledWidth = System...
IntroductionMany projects now are in need of management of multi-tree level data. There are some ways to do this, but in this article I will introduce...
分类:
数据库 时间:
2015-03-10 10:13:45
阅读次数:
446
iOS8中设置应用程序图标跟之前没有什么变化,命名规则不变,不过至于设置启动页面,网上给的方式很多都是模棱两可的,东平西凑总算是把启动页面的图片设置成功了,iOS设置启动图片有两种方式一种是Launch Screen.xib,第二种是通过Images.xcassets,关于第一种方式是为了支持iOS...
分类:
移动开发 时间:
2015-03-09 22:10:58
阅读次数:
223