摘要:### usb debug by remote chrome ### https://developer.chrome.com/devtools/docs/remote-debugging ### chrome develop tools ### https://developers.google.
阅读全文
摘要:// 未实现功能的代码 1(自己写的代码) var _cur_top = $(window).scrollTop(); var num = $(".class_section").length; var wH = $(window).height...
阅读全文
摘要:$("#id_sign_forbidden_win .c-content").click(function(event){ event.stopPropagation(); // 阻止点击事件的冒泡 }); $("#id_sign_forbidden_win").bind("click...
阅读全文
摘要:// 1. 过滤字符串中src 属性为空的img 标签 $filterBack = preg_replace("/]*src\=[\'\"][\'\"][^]*>/" , "" , $str);// 。。。。
阅读全文
摘要:define(function(){ function ScrollMoreInfo($wraper , loadDataFunc , json_ids , perNum , tpl_info) { this.$wraper = $wraper; this.loadDataFunc = l...
阅读全文
摘要:// 在访客跳转进入的页面中,执行下面使用下面 invoke function (function(){ var str_downloadUrl = ""; var str_scheme = "hinabian://openwith"; if($.os.iphone) { ...
阅读全文
摘要:// smarty 模板引擎$arr_tribeLabelList["`$tribe_id`_"]
阅读全文
摘要:cookie 请求跨域的问题, 假设我有两个域名,一个 m.example.com,另一个是 www.example.com 。那么我需要如何设置 cookie 才可以在这两个域名都实现共享呢?// m.example.com & www.example.com 的根域名都是 example.com...
阅读全文
摘要://http://php.net/manual/en/control-structures.break.php //break ends execution of the current for, foreach, while, do-while or switch structure. //bre
阅读全文