摘要: . 阅读全文
posted @ 2018-12-26 18:57 SenseOfPlace 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 调用百度地图API 阅读全文
posted @ 2018-12-26 18:56 SenseOfPlace 阅读(84) 评论(0) 推荐(0) 编辑
摘要: . 阅读全文
posted @ 2018-11-18 14:35 SenseOfPlace 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 作业1:For each in,For in和For of(explain,examples) 一、一般的遍历数组的方法: 二、用for in的方遍历数组 三、forEach array.forEach(v=>{ console.log(v); });array.forEach(function(v 阅读全文
posted @ 2018-11-18 14:26 SenseOfPlace 阅读(92) 评论(0) 推荐(0) 编辑
摘要: object的发展史: 一.面向对象的发展史。(分为三个阶段) (一)初级阶段 20世纪60年代挪威计算中心开发的Simula 67,首先引入了类的概念和继承机制,它是面向对象语言的先驱。该语言的诞生是面向对象发展史上的第一个里程碑。随后20世纪70年代的CLU、并发Pascal、Ada和Modul 阅读全文
posted @ 2018-11-18 14:12 SenseOfPlace 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 一、正则表达式 正则表达式(regular expression)描述了一种字符串匹配的模式(pattern),可以用来检查一个串是否含有某种子串、将匹配的子串替换或者从某个串中取出符合某个条件的子串等。 构造正则表达式的方法和创建数学表达式的方法一样。也就是用多种元字符与运算符可以将小的表达式结合 阅读全文
posted @ 2018-10-26 16:05 SenseOfPlace 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 关于DOM & BOM概念的起源(source),方法(methods),内容(contents),应用(application) DOM(起源):文件对象模型(DocumentObjectModel,简称DOM),是W3C组织推荐的处理可扩展置标语言的标准编程接口。DocumentObjectMo 阅读全文
posted @ 2018-10-21 11:59 SenseOfPlace 阅读(160) 评论(0) 推荐(0) 编辑
摘要: sticky:The element is positioned according to the normal flow of the document, and then offset relative to its nearest scrolling ancestor and containi 阅读全文
posted @ 2018-10-14 12:23 SenseOfPlace 阅读(94) 评论(0) 推荐(0) 编辑
摘要: ②CSS的颜色表示法 1.用颜色名表示 如:blue,red,white等 2.用十六进制的颜色值表示 如:#ff0000 表示红色 3.rgb表示 如:rgb(255,0,0)表示红色 4.rgba表示 如:a表示的是颜色的透明度,取值范围是0~1,0表示完全透明 5.hsl(Hue,Satura 阅读全文
posted @ 2018-10-14 12:11 SenseOfPlace 阅读(185) 评论(0) 推荐(0) 编辑
摘要: ①CSS单位 1.fr:Tracks can be defined using any length unit. Grid also introduces an additional length unit to help us create flexible grid tracks. The ne 阅读全文
posted @ 2018-10-14 11:16 SenseOfPlace 阅读(87) 评论(0) 推荐(0) 编辑