上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: npm install 的时候出现npm ERR! errno -4048错误 以管理员身份运行之后,再次npm install 成功了 阅读全文
posted @ 2017-09-26 09:11 sunniejs 阅读(1898) 评论(0) 推荐(0) 编辑
摘要: js获取系统语言navigator.language var script = document.createElement("script"); script.type = "text/javascript"; script.src = "../assets/javascripts/picker-country.js"; if (nav... 阅读全文
posted @ 2017-08-25 13:21 sunniejs 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 利用transform: translateX(-50%) translateY(-50%); ie9下无法用flex进行垂直居中,利用transform进行垂直居中 阅读全文
posted @ 2017-08-07 09:48 sunniejs 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 申请秘钥将<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=秘钥></script>中的秘钥替换就可以了 完整版下载地址 http://pan.baidu.com/s/1pLoKmx1 阅读全文
posted @ 2017-08-04 13:37 sunniejs 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 发现在localhost下访问是正常显示的,直接目录下打开网页报上面的错 用webstorm建立project打开网页就可以了 阅读全文
posted @ 2017-08-04 11:03 sunniejs 阅读(877) 评论(0) 推荐(0) 编辑
摘要: $(function () { if ($.validator) { //fix: when several input elements shares the same name, but has different id-ies.... $.validator.prototype.element... 阅读全文
posted @ 2017-08-02 16:23 sunniejs 阅读(452) 评论(0) 推荐(0) 编辑
摘要: function addCookie(name, value, expiresHours) { var cookieString = name + "=" + escape(value); //判断是否设置过期时间,0代表关闭浏览器时失效 if (expiresHours > 0) { var da 阅读全文
posted @ 2017-07-26 10:42 sunniejs 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 实现思路通过添加cookie来实现刷新无效 完成代码下载 http://download.csdn.net/detail/u012192657/9910391 阅读全文
posted @ 2017-07-25 18:48 sunniejs 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 谷歌浏览器 登陆会自动填充 在input密码框前面添加 <input type="password" style="display: none;"/> 阅读全文
posted @ 2017-07-24 18:48 sunniejs 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 返回 阅读全文
posted @ 2017-07-18 10:18 sunniejs 阅读(882) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页