This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function nl2p($text) { | |
| return "<p>" . str_replace("\n", "</p><p>", $text) . "</p>"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ts = (new Date()).getTime(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| $("link").each(function() { | |
| var $this = $(this); | |
| var url = $this.attr("href"); | |
| var ts = (new Date()).getTime(); | |
| $this.on("error", | |
| function() { | |
| $this.attr("href", url + "?=" + ts); | |
| }); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <input id="isFocus" type="hidden" value="false" data-url="test" /> | |
| <input id="hasCollect" type="hidden" value="false" /> | |
| <input id="personId" type="hidden" value="54fc508f0cf2edf0d9e1cc6c" /> | |
| <input id="openId" type="hidden" value="od8J4s8lK2OleSGuj9QCER6912Q4" | |
| /> | |
| <input id="focusUrl" type="hidden" value="" /> | |
| <input id="fromUrl" type="hidden" value="" /> | |
| <input id="isFirst" type="hidden" value="" /> | |
| <input id="showTip" type="hidden" value="" /> | |
| <input id="notWeixin" type="hidden" value="" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- 分享菜单--> | |
| <div class="sharetip sharetip-cfriend js-sharetip-cfriend"> | |
| <div class="shareBox"> | |
| <span class="shareBox-title"> | |
| 分享到: | |
| </span> | |
| <div class="bdsharebuttonbox clearfix" data-tag="share_1"> | |
| <a class="bds_sqq" data-cmd="sqq"> | |
| QQ好友 | |
| </a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- 箭头--> | |
| <div class="fuckarr" style="display:<%= StrShowMerchantUserName == StrMerchantModelUserName ? "" : "none"%>;"> | |
| <img alt="" src="CardImages/nav.gif" /> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var _system={ | |
| $:function(id){ | |
| return document.getElementById(id); | |
| }, | |
| _client:function(){ | |
| return {w:document.documentElement.scrollWidth,h:document.documentElement.scrollHeight,bw:document.documentElement.clientWidth,bh:document.documentElement.clientHeight}; | |
| }, | |
| _scroll:function(){ | |
| return {x:document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft,y:document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static function trimString($value){ | |
| $ret = null; | |
| if (null != $value) { | |
| $ret = $value; | |
| if (strlen($ret) == 0) { | |
| $ret = null; | |
| } | |
| } | |
| return $ret; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://open.weixin.qq.com/qr/code/?username= |
OlderNewer