BOM和DOM
BOM对象
什么是BOM
BOM(Brower Object Model,浏览器对象模型),主要用来访问和操作浏览器各组件的一种方法。BOM对象有:window、location、history、screen、navigator、document、frames[]
windows对象
Window 对象是 JavaScript 层级中的顶层对象。
...
分类:
其他好文 时间:
2016-05-30 15:01:20
阅读次数:
222
Given an Android 3x3 key lock screen and two integers m and n, where 1 ≤ m ≤ n ≤ 9, count the total number of unlock patterns of the Android lock scre ...
分类:
移动开发 时间:
2016-05-30 06:30:24
阅读次数:
322
1.One is CGFloat.It’s a floating point number.All floating point numbers that have to do with drawing on the screen or getting touch events or whateve ...
分类:
移动开发 时间:
2016-05-29 23:15:37
阅读次数:
246
第1章 css和文档 1,元素:替换元素(img input),非替换元素(大多数span)。 2,link:rel(代表关系:stylesheet,候选样式表:alternate stylesheet);type(text/css);media:(all(所有表现媒体, screen,print) ...
分类:
Web程序 时间:
2016-05-29 20:01:13
阅读次数:
164
1. 读取设备的framebuffer,最简单的方式是通过 adb adb shell cd /dev/graphics cat fb0 > screen ;得到当中主屏幕的内容 你可以切换屏幕,然后将之前暂存的屏幕内容写入到当前主屏幕当中,其显示的内容是之前的内容 cat screen > fb0 ...
分类:
移动开发 时间:
2016-05-28 17:25:51
阅读次数:
519
Clone: Link Modify the structure: Move css, js, image, index.html to an 'app' folder. manifest.json: name: Showing on splash screen. short_name: Showi ...
分类:
移动开发 时间:
2016-05-27 02:04:43
阅读次数:
274
PWA: Add to home screen Angular Universal Server side rendering: for achieving better proference on init loading sw-precache: with webpack: sw-toolbox ...
分类:
移动开发 时间:
2016-05-27 02:04:31
阅读次数:
513
此文介绍的是缩小浏览器,排班不随浏览器窗口大小变化,如果需要排班随浏览器变化,使用bootstrap会更好,今天要介绍的是固定排班 加入JS代码: <script language="javascript"> function readyPage() { if (screen.width >= 16 ...
分类:
其他好文 时间:
2016-05-26 20:28:43
阅读次数:
246
插件地址: https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl/related ...
分类:
Web程序 时间:
2016-05-25 18:33:29
阅读次数:
136
两个都是多窗口工具。1、使用后wim出现配色问题:http://ibartman.com/2014/04/16/vim%20%E9%85%8D%E8%89%B2/设置两个即可:(.bashrc对应具体shell),重启计算机(或者source .bashrc).bashrc:export TERM= ...
分类:
系统相关 时间:
2016-05-23 14:34:41
阅读次数:
291