09 2015 档案

摘要:原文地址:https://github.com/yanhaijing/zepto.fullpage第一步:基于移动端的浏览体验,在头部添加浏览器渲染的分辨率第二步:引入相关文件第三步:编写基本结构html代码 1 2 3 4 第四... 阅读全文
posted @ 2015-09-30 17:53 tiandi2050 阅读(484) 评论(0) 推荐(0)
摘要:微信跳转if (strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') === FALSE) header('Location:http://storage.aiyidd.com/aiyidd.apk '); 阅读全文
posted @ 2015-09-25 10:14 tiandi2050 阅读(152) 评论(0) 推荐(0)
摘要:1.通过composer 安装高级版C:wampwwwyii>composercreate-project--prefer-distyiisoft/yii2-app-advancedadvanced2. 进入 advanced 目录中 执行 init 初始化C:wampwwwyii>cdadvanc... 阅读全文
posted @ 2015-09-07 15:08 tiandi2050 阅读(516) 评论(0) 推荐(0)
摘要:Sphinx 阅读全文
posted @ 2015-09-06 20:30 tiandi2050 阅读(146) 评论(0) 推荐(0)
摘要:无缝滚动Insert title here 选项卡Insert title here 国内 国际 体育 娱乐 [国内]文章标题 [国内]文章标题 [... 阅读全文
posted @ 2015-09-06 09:47 tiandi2050 阅读(138) 评论(0) 推荐(0)
摘要:轮滑Insert title here 1 2 3 4鼠标经过时显示坐标位置Insert title here省市联动Insert title here 阅读全文
posted @ 2015-09-06 09:44 tiandi2050 阅读(168) 评论(0) 推荐(0)
摘要:1、找到页面元素id选择器$("#id值")标签选择器$("标签名")类别选择器$(".类别名")属性选择器$("[属性名=值]")$("[属性名^=值]")$("[属性名$=值]")$("[属性名*=值]")后代选择器$("选择器1 选择器2 .....")子代选择器$("选择器1>选择器2>..... 阅读全文
posted @ 2015-09-06 09:42 tiandi2050 阅读(153) 评论(0) 推荐(0)
摘要:div的显示和隐藏Insert title herediv-1给div追加内容Insert title here给img添加属性Insert title here简单的轮滑效果Insert title here 1 2 3 4获取div中的内容Insert title... 阅读全文
posted @ 2015-09-06 09:25 tiandi2050 阅读(136) 评论(0) 推荐(0)
摘要:样式Insert title hereabc滚动标题今天天气很好,两会马上召开了,邀请了何老师,李老师,邀请王老师,王老师没有去。对联广告Insert title here天王盖地虎小鸡炖蘑菇 阅读全文
posted @ 2015-09-06 09:20 tiandi2050 阅读(162) 评论(0) 推荐(0)
摘要:dom对象:页面节点对象的统称。如何得到标签对应的节点对象document.getElementById()document.getElementsByName()document.getElementsByTagName()节点对象有什么属性及方法,能够完成什么样操作样式 节点对象.style 节... 阅读全文
posted @ 2015-09-06 09:02 tiandi2050 阅读(124) 评论(0) 推荐(0)
摘要:追加节点Insert title hereli-1li-2li-3li-4li-5div-1 阅读全文
posted @ 2015-09-06 08:55 tiandi2050 阅读(581) 评论(0) 推荐(0)
摘要:表单Insert title here 会员注册 用户名: 密码: 重复密码: 邮箱: 性别: 男 女 保密 爱好: 篮球 足球 羽毛球 ... 阅读全文
posted @ 2015-09-06 08:54 tiandi2050 阅读(220) 评论(0) 推荐(0)
摘要:遍历checkboxInsert title here男女保密遍历selectInsert title here 阅读全文
posted @ 2015-09-06 08:42 tiandi2050 阅读(224) 评论(0) 推荐(0)
摘要:前提:1. 部署smarty模板目录;2. 编写Smarty类的子类,定制好template_dir、compile_dir、config_dir、cache_dir、left_delimiter、right_delimiter、compile_check、caching等配置信息。3. 在Base... 阅读全文
posted @ 2015-09-02 11:58 tiandi2050 阅读(183) 评论(0) 推荐(0)
摘要:http://www.oschina.net/p/seaslog 阅读全文
posted @ 2015-09-02 11:02 tiandi2050 阅读(103) 评论(0) 推荐(0)
摘要:关于一些上传插件的运用JQuery上传插件Uploadify使用详解http://www.cnblogs.com/oec2003/archive/2010/01/06/1640027.html 阅读全文
posted @ 2015-09-02 10:40 tiandi2050 阅读(136) 评论(0) 推荐(0)
摘要:上传的主体页面 Document 请选择头像: 处理页面 doAction.php0){ //匹配错误信息 switch($error){ case 1: $msg='超过了PHP配置... 阅读全文
posted @ 2015-09-02 10:35 tiandi2050 阅读(316) 评论(0) 推荐(0)
摘要:php上传基础知识总结1.文件上传1》文件上传的原理:将客户端上的文件通过浏览器上传到服务器上, 在将服务器上的文件移动到指定目录。 2》客户端的配置 表单页面,浏览框 method='post' enctype='multipart/form-data'3》服务器端配... 阅读全文
posted @ 2015-09-02 10:14 tiandi2050 阅读(192) 评论(0) 推荐(0)
摘要:一个简单的小程序: 配置 config.iniconn=$link; if(is_resource($link)){ mysql_set_charset(DB_CHARSET); $re=mysql_select_db(DB_NAME); ... 阅读全文
posted @ 2015-09-02 09:45 tiandi2050 阅读(191) 评论(0) 推荐(0)
摘要:连接mysqlresource mysql_connect(host,username,password);设置交互字符集bool mysql_set_charset("utf8|gbk");选择数据库bool mysql_select_db("dbName");执行sql语句mixed mysql... 阅读全文
posted @ 2015-09-02 09:16 tiandi2050 阅读(202) 评论(0) 推荐(0)
摘要:今天学习怎样用JQuery编写一些小的代码,小小的试了一下编写一个textarea,代码如下: 放大 缩小 C/S之间通过任意的协... 阅读全文
posted @ 2015-09-02 08:28 tiandi2050 阅读(189) 评论(0) 推荐(0)
摘要:面向对象(Object Oriented Programming,OOP)的基础知识:第一个例子: 类Test.class.phpb=789; $this->fun2(); //echo $this->c; } protected function fun2(... 阅读全文
posted @ 2015-09-01 21:05 tiandi2050 阅读(374) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-09-01 09:56 tiandi2050 阅读(150) 评论(0) 推荐(0)
摘要:一、基本函数库 split():用于把一个字符串分割成字符串数组 toUpperCase(): substr(): 长度 length() 拼接(两种) +concat():合并多个字符串,并返回合并的结果 查找 indexOf() 方法可返回某个指定的字符串值在字符串中首次出现的位置 lastIn... 阅读全文
posted @ 2015-09-01 09:45 tiandi2050 阅读(348) 评论(0) 推荐(0)
摘要:一. HTTP协议的应用简单概况HTTP协议的主要特点可概括如下:1.支持客户/服务器模式。2.简单快速:客户向服务器请求服务时,只需传送请求方法和路径。请求方法常用的有GET、HEAD、POST。每种方法规定了客户与服务器联系的类型不同。由于HTTP协议简单,使得HTTP服务器的程序规模小,因而通... 阅读全文
posted @ 2015-09-01 09:04 tiandi2050 阅读(254) 评论(0) 推荐(0)
摘要:HTML负责结构层,网页的结构层由HTML或者XHTML之类的标记语言负责构建CSS负责表示层,描述页面内容应该如何呈现。JavaScript负责行为层,负责内容应该如何响应事件这一问题。能利用css解决的问题不要用js去实现,能用css实现的内容不要在html中使用,每个都应该严格负责自己的领域。... 阅读全文
posted @ 2015-09-01 08:53 tiandi2050 阅读(160) 评论(0) 推荐(0)