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
理解BlockCipher加密算法
凯撒大帝被认为是最古老的对称加密算法。所谓的凯撒加密法(你也许可以从报纸上找到一个作为消遣来玩),它随机的给每一个字母分配一个数字。在这个简单的算法当中,字母到数字的映射就是key。现代加密算法比凯撒算法肯定复杂的多,以便抵御来自计算机的攻击。尽管基本原理是一样,替换一个字母或其它什么东西为另外一个字母或其它什么东西,后续都对替换后的东西进行处理,在几个世...
分类:
其他好文 时间:
2016-05-27 00:52:29
阅读次数:
352
此文介绍的是缩小浏览器,排班不随浏览器窗口大小变化,如果需要排班随浏览器变化,使用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