摘要: 一、显示信息的命令 二、占位符 三、信息分组 四、查看对象的信息 五、显示某个节点的内容 六、判断变量是否是真 七、追踪函数的调用轨迹 八、计时功能 九、console.profile()的性能分析 阅读全文
posted @ 2017-05-23 00:23 云端君 阅读(191) 评论(0) 推荐(0)
摘要: 有时候我们需要替换或获取一些复杂的值,这时候我们就需要用到正则以及replace替换,当多个需要查找时,就要用到str.replace(reg,function(){})批量替换了 阅读全文
posted @ 2016-08-18 16:21 云端君 阅读(352) 评论(0) 推荐(0)
摘要: meta指元素可提供有关页面的元信息(meta-information),比如针对搜索引擎和更新频度的描述和关键词。 标签位于文档的头部,不包含任何内容。 标签的属性定义了与文档相关联的名称/值对。手机端特有的有哪些? 第一个meta标签表示:强制让文档的宽度与设备的宽度保持1:1,并且文档最大的宽 阅读全文
posted @ 2016-05-18 11:39 云端君 阅读(692) 评论(0) 推荐(0)
摘要: /*cookie管理*/ var Cookie = { getExpiresDate:function(days, hours, minutes) { var ExpiresDate = new Date(); if (typeof days == "number" && typeof hours 阅读全文
posted @ 2016-05-11 10:59 云端君 阅读(165) 评论(0) 推荐(0)
摘要: //csshtml{font-size:10px;}元素{font-size:1.2rem;}//js(function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in wi... 阅读全文
posted @ 2015-12-23 15:13 云端君 阅读(142) 评论(0) 推荐(0)
摘要: //html 已阅读并同意服务协议!//css样式.checkboxFive { width: 18px; position: relative;}.checkboxFive label { cursor: pointer; position: absolute; width: 18p... 阅读全文
posted @ 2015-12-23 15:02 云端君 阅读(292) 评论(0) 推荐(0)