摘要: 在linux+Nginx+mysql+PHP 新装的服务器下,不支持重写pathinfo功能 。 需要加入这个代码 让Nginx 支持重写功能 location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; 阅读全文
posted @ 2017-09-15 09:43 宋先生日记 阅读(202) 评论(0) 推荐(0) 编辑
摘要: document.writeln('<script src=\"http://pv.sohu.com/cityjson?ie=utf-8\"></script> ');//这是要引入的插件 document.write(returnCitySN["cip"]+','+returnCitySN["cn 阅读全文
posted @ 2017-09-04 14:40 宋先生日记 阅读(270) 评论(0) 推荐(0) 编辑
摘要: transition 简写属性,用于在一个属性中设置四个过渡属性。 1. transition 把鼠标指针放到 div 元素上,其宽度会从 100px 逐渐变为 300px: eg: div{width:100px;transition: width 2s;-moz-transition: widt 阅读全文
posted @ 2017-08-10 09:24 宋先生日记 阅读(299) 评论(0) 推荐(0) 编辑
摘要: * global.func.php 公共函数库 /** * 返回经addslashes处理过的字符串或数组 * @param $string 需要处理的字符串或数组 * @return mixed */function new_addslashes($string) /** * 返回经stripsl 阅读全文
posted @ 2017-07-12 14:25 宋先生日记 阅读(713) 评论(0) 推荐(0) 编辑
摘要: <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min. 阅读全文
posted @ 2017-07-09 14:33 宋先生日记 阅读(364) 评论(0) 推荐(0) 编辑
摘要: <meta name="viewport" content="width=device-width, initial-scale=1"> 阅读全文
posted @ 2017-07-09 14:00 宋先生日记 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 一、transition-property: transition-property是用来指定当元素其中一个属性改变时执行transition效果,其主要有以下几个值:none(没有属性改变);all(所有属性改变)这个也是其默认值;indent(元素属性名)。当其值为none时,transitio 阅读全文
posted @ 2017-03-30 09:09 宋先生日记 阅读(2098) 评论(0) 推荐(0) 编辑