Top
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: http://javascript.ruanyifeng.com/stdlib/regexp.html#toc11 https://segmentfault.com/a/1190000002471140#articleHeader10 阅读全文
posted @ 2016-11-29 17:16 Avenstar 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 一. 创建一个正则表达式RegExp,有两种方式如下图所示 二、 创建一个正则表达式RegExp详述说明 1.构造函数 2.面向字面量[常用] 3.正则标识符/修饰符flags说明 4.字符串对象的方法 常规用法这里不详述 replace方法的第二个参数还可以是一个函数,将每一个匹配内容替换为函数返 阅读全文
posted @ 2016-11-28 21:55 Avenstar 阅读(1176) 评论(0) 推荐(0) 编辑
摘要: jQuery 短信验证码倒计时 阅读全文
posted @ 2016-11-25 17:22 Avenstar 阅读(6507) 评论(0) 推荐(0) 编辑
摘要: 比如输入: [1,13,24,11,11,14,1,2] 输出: [1,13,24,11,14,2] 需要去掉重复的11 和 1 这两个元素。 这道问题出现在诸多的前端面试题中,主要考察个人对Object的使用,利用key来进行筛选。 给出一段英文连续的英文字符窜,找出重复出现次数最多的字母 输入 阅读全文
posted @ 2016-11-23 14:54 Avenstar 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 享受每一天,仿佛那是你的末日。“双曲贴现”一个决定离现在越近,我们的“情感利息”就越多。 过度自信会令你忽视你真正知道的东西与你已知的东西之间的区别。 "互惠"基本含义"你帮我,我帮你"。经济"温和性的敲诈"广为流行 如果某人在某一方面(比如美貌/社会/地位/年龄)造成了正面或负面的印象,那么他将普 阅读全文
posted @ 2016-11-22 20:39 Avenstar 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 推荐网址 http://www.zcool.com.cn/ 阅读全文
posted @ 2016-11-21 17:02 Avenstar 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 原生<input type="file" name="file" />长得太丑 提升一下颜值 阅读全文
posted @ 2016-11-21 16:34 Avenstar 阅读(6088) 评论(0) 推荐(1) 编辑
摘要: 1.Morning Routine (早上列行公事) Probably the most common habit ultra-successful people have is they can tell you exactly what they do for the 60 minutes of 阅读全文
posted @ 2016-11-20 12:01 Avenstar 阅读(386) 评论(0) 推荐(0) 编辑
摘要: exportWidth:暴露门的宽度 width imagesWidth:单张图片的宽度width 每道门每次偏移量 translate=imagesWidth-exportWidth; 当前鼠标hover图片时,偏移后的left值应为当前图片images[i].style.left与每道门的偏移量 阅读全文
posted @ 2016-11-19 00:21 Avenstar 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 一、实现如下效果 二、代码实现思路 图案一源码 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8" /> 5 <title>伪类绘图</title> 6 <style> 7 .button { 8 display: inline-b 阅读全文
posted @ 2016-11-17 15:43 Avenstar 阅读(320) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页