上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页
摘要: .nav-underline > *{/* 指定容器,里面可以是li、span等多样化的元素 */ display: inline-block; margin: -3px; padding: 10px 15px; position: relative; cursor: pointer; } .nav-underline > *::before {/* 通过伪元素实现下划线效果... 阅读全文
posted @ 2018-03-29 10:04 【云】风过无痕 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 通常我们在页面加载完成的时候要写入一些功能脚本,如: 但运行到‘脚本 - 2’时程序会被中断,导致后续脚本无法执行,在项目中这往往不是我们想要的;有异常发生时,我们可以捕获并打印,但脚本依然进行执行,改造如下: chrome的测试结果: 阅读全文
posted @ 2018-03-21 16:07 【云】风过无痕 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 以上为示例,利用 Object.prototype.toString.call() 实现精确的类型判断; 阅读全文
posted @ 2018-02-27 22:26 【云】风过无痕 阅读(117) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-02-26 14:33 【云】风过无痕 阅读(4) 评论(0) 推荐(0) 编辑
摘要: liunx下nodejs 的安装方法有很多,比如源码编译,配置起来麻烦的很。今天介绍最简答的一种安装方法,使用已经编译好的文件安装。 1. 下载编译好的文件 我的系统是centos7,进入要存放下载资源的目录,个人建议存放在/usr/local/src/目录下。然后执行安装命令: 上述命令是下载8. 阅读全文
posted @ 2018-02-21 06:29 【云】风过无痕 阅读(129) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-02-21 04:19 【云】风过无痕 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 基于h5表单验证系统、扩展了对easyui组件的支持 先上图: 提示样式用到了伪对象的 {content: attr(xxx)}函数方法,实现提示信息能动态切换。 1、关键属性说明: type: 表单元素类型(h5的input类型:number、email等), max: type为number、r 阅读全文
posted @ 2018-02-11 15:57 【云】风过无痕 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 第一次折腾mysql诉苦记 版本注明: mysql 5.7.21 本地部署mysql,配置完成后(配置没有问题) cmd命令连接mysql: mysql -uroot -p 提示: ERROR 1045 (28000): Access denied for user 'root'@'localhos 阅读全文
posted @ 2018-02-02 15:47 【云】风过无痕 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 效果图:合计信息展示在页脚中(showFooter:true) code: 阅读全文
posted @ 2018-01-26 17:55 【云】风过无痕 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 在js环境中,this有很多指向(window、dom、object等),巧妙的利用this,可以有效的防止变量或方法被外界污染,保证代码健壮性,实例如下。 demo: console中运行结果: 阅读全文
posted @ 2018-01-24 12:08 【云】风过无痕 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页