当前位置: 首页 > 2015年8月发布的所有文章
  • 纯CSS打造的Family tree(族谱)

            Test      /*Now the CSS*/ * {margin: 0; padding: 0;}   .tree ul {     padding-top: 20px; position: relative;           transition: all 0.5s;     -webkit-transition: all 0.5s;     -moz-transition: all 0.5s; }   .tree li {     float: left; text-align: center;     list-style-type: none;    ...

    键盘游走者 发布于 2015-08-27 23:38JS相关抢沙发
  • 淘宝IP API

    function taobaoIP($clientIP){         $taobaoIP = 'http://ip.taobao.com/service/getIpInfo.php?ip='.$clientIP;         $IPinfo = json_decode(file_get_contents($taobaoIP));         $province = $IPinfo->data->region;         $city = $IPinfo->data->city;         $data = $province.$city;      ...

    键盘游走者 发布于 2015-08-26 17:29php抢沙发
  • PHP识别电脑还是手机访问网站

    function isMobile(){       $useragent=isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';       $useragent_commentsblock=preg_match('|\(.*?\)|',$useragent,$matches)>0?$matches[0]:'';            function CheckSubstrs($substrs,$text){      ...

    键盘游走者 发布于 2015-08-06 02:20php抢沙发
  • 兼容所有浏览器复制

    jquery.zclip.1.1.1.zip 官网 http://www.steamdev.com/zclip/             $(function(){         $('#but').zclip({             path:'__PUBLIC__/images/ZeroClipboard.swf',             copy: function(){                 return $('#url').val();             },         ...

    键盘游走者 发布于 2015-08-01 09:27JS相关抢沙发