摘要: 问题描述:https://github.com/zenorocha/clipboard.js/wiki/Known-IssuesOn IE9-11 there's a prompt that asks if the user wants to allow access to his/her clip 阅读全文
posted @ 2016-04-14 09:22 roseforyou 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 安装皮肤, 举例sodahttps://github.com/buymeasoda/soda-themectrl+shift+p => Package Control: Install Package输入 soda, 选择第一个应该就是了.sidebar add theme:(左侧 侧边栏添加皮肤) 阅读全文
posted @ 2016-04-14 09:21 roseforyou 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 小狼毫输入法现在真的比较火, 就是设置有点麻烦 下载地址: https://rime.im/常用设置:1. 中文状态下, shift直接上屏(我是从搜狗输入法转过来的, 所以习惯了...)C:\Users\[username]\AppData\Roaming\Rime\default.custom. 阅读全文
posted @ 2016-04-14 09:20 roseforyou 阅读(27364) 评论(0) 推荐(2) 编辑
摘要: ios prevent dblclick(tap) page scrollhtml add:("minimal-ui" is very important) eg: 以lightbox_me.js举例说明 阅读全文
posted @ 2016-04-14 09:19 roseforyou 阅读(495) 评论(0) 推荐(0) 编辑
摘要: function getMobileOperatingSystem() { var userAgent = navigator.userAgent || navigator.vendor || window.opera; if( userAgent.match( /iPad/i ) || userAgent.match( /iPhone/i ) || userAgent.match( /... 阅读全文
posted @ 2016-04-14 09:17 roseforyou 阅读(214) 评论(0) 推荐(0) 编辑
摘要: var div = document.createElement('div'); console.log(div.style.transition); //如果支持的话, 会输出 "" //如果不支持的话, 会输出 undefined. //新版本的浏览器不用判断前缀了, 老版本的浏览器还是需要判断前缀 //可参考: http://www.jb51.net/article/56412.htm ... 阅读全文
posted @ 2016-04-13 17:57 roseforyou 阅读(406) 评论(0) 推荐(0) 编辑
摘要: header('Content-type: appliction/json; charset=shift-JIS'); // error //{ // "result": false, // "message": "longin", // "nextUrl": "http://xxxxx/login/" // } $data =array(); class Test { pub... 阅读全文
posted @ 2016-04-13 17:57 roseforyou 阅读(413) 评论(0) 推荐(0) 编辑
摘要: userid = urlencode("user".strval($x)); $test->cmt = urlencode("あああああああああああああ".strval($x)); $data[] =$test; } echo "{".'"result": true, "entrylist"'.":".urldecode(json_encode($data))."}"; ?> ... 阅读全文
posted @ 2016-04-13 17:56 roseforyou 阅读(950) 评论(0) 推荐(0) 编辑
摘要: 在这里谢谢那些无私的人~~这些内容来自这里:我只把js的链接粘到这里了~ 还有其它技术文档, 实在是太多了, 多的看都看不完!!! Google JavaScript 代码风格指南 Google JSON 风格指南 Airbnb JavaScript 规范 JavaScript 标准参考教程(alp 阅读全文
posted @ 2016-04-13 17:55 roseforyou 阅读(360) 评论(0) 推荐(0) 编辑
摘要: Demo: http://output.jsbin.com/qusikinaga还有一个很好的transform jshttp://louisremi.github.io/jquery.transform.js/index.html 阅读全文
posted @ 2016-04-13 17:53 roseforyou 阅读(331) 评论(0) 推荐(0) 编辑