yangzailu

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

12 2016 档案

jquery中的$(document).ready(function() {});
摘要:当文档载入时执行function函数里的代码, 这部分代码主要声明,页面加载后 “监听事件” 的方法。例如: 这句的意思是:页面加载成功后,页面内的所有链接在“点击”事件的时候,提示“你点我干嘛” 阅读全文

posted @ 2016-12-30 09:40 飞离地平线 阅读(306) 评论(0) 推荐(0) 编辑

JQuery中的siblings()是什么意思
摘要:jQuery siblings() 方法返回被选元素的所有同胞元素,并且可以使用可选参数来过滤对同胞元素的搜索。 实例演示:点击某个li标签后将其设置为红色,而其所有同胞元素去除红色样式。 1.创建Html元素 <div class="box"> <span>点击li元素设置红色并去除其余所有同胞元 阅读全文

posted @ 2016-12-29 13:47 飞离地平线 阅读(1361) 评论(0) 推荐(0) 编辑

html中table边框属性
摘要:1.向右(横向)合并: 2.向下(纵向)合并: 3.合并边框线(为表格设置合并边框模型): 4.在table中的td中让文字底部对齐和顶部对齐 阅读全文

posted @ 2016-12-28 15:47 飞离地平线 阅读(525) 评论(0) 推荐(0) 编辑

登录(ajax提交数据和后台校验)
摘要:1.前台ajax数据提交 2.后台校验: ****************************************************************************************** 退出登录: 阅读全文

posted @ 2016-12-28 11:46 飞离地平线 阅读(516) 评论(0) 推荐(0) 编辑

window7系统怎么找到开始运行命令
摘要:右击开始->属性->开始菜单->自定义>点击运行命令(选择)->确定 阅读全文

posted @ 2016-12-26 14:48 飞离地平线 阅读(373) 评论(0) 推荐(0) 编辑

wampserver服务器无法启动(图标颜色不对)
摘要:1.服务器一直无法启动,图标颜色一直显示黄色,并且不可用。 2.解决办法: (1) C:\wamp\bin\apache\apache2.4.9\bin ->httpd.exe 找到该文件 (2) 打开cmd命令 (3) 把httpd.exe文件拖入到黑色运行框内(内部提示错误位置) 本次错误由配置 阅读全文

posted @ 2016-12-26 14:45 飞离地平线 阅读(540) 评论(0) 推荐(0) 编辑

2003-Can't connect to mysql server on localhost (10061)
摘要:mysql数据库出现2003-Can't connect to mysql server on localhost (10061)问题 解决办法:查看wampserver服务器是否启动,如果没有启动启动服务器。 阅读全文

posted @ 2016-12-23 11:33 飞离地平线 阅读(440) 评论(0) 推荐(0) 编辑

让div在另一个div中居中
摘要:{margin:0 auto;} 阅读全文

posted @ 2016-12-22 14:02 飞离地平线 阅读(490) 评论(0) 推荐(0) 编辑

css设置table表格tr分离
摘要:table { border-collapse:separate; border-spacing:10px 50px; } 阅读全文

posted @ 2016-12-21 16:49 飞离地平线 阅读(1086) 评论(0) 推荐(0) 编辑

css全局格式化
摘要:/*全局控制*/ body{margin:0;padding:0;font-size:14px;line-height:22px; height:auto; font-family:"微软雅黑"; color:#3e3938;-webkit-text-size-adjust:none;} body, div, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, ... 阅读全文

posted @ 2016-12-21 11:33 飞离地平线 阅读(386) 评论(0) 推荐(1) 编辑

php在没有登录的情况下自动跳转到登录页
摘要:<?php namespace Home\Controller; use Think\Controller; class BaseController extends Controller{ //基础信息,判断登陆 public function __construct(){ parent::__c 阅读全文

posted @ 2016-12-21 10:32 飞离地平线 阅读(792) 评论(1) 推荐(0) 编辑

php分页原理
摘要:新闻管理列表页 编号 新闻标题 作者 来源 排序 点击率 发布日期 操作选项 "> ... 阅读全文

posted @ 2016-12-20 17:09 飞离地平线 阅读(456) 评论(0) 推荐(0) 编辑

thinkphp怎么修改配置进入默认首页
摘要:thinkphp文件夹下config 里面有个convention.php文件 里面有三个配置 'DEFAULT_MODULE' => 'Home', // 默认模块 'DEFAULT_CONTROLLER' => 'Index', // 默认控制器名称 'DEFAULT_ACTION' => 'i 阅读全文

posted @ 2016-12-19 17:07 飞离地平线 阅读(1139) 评论(0) 推荐(0) 编辑

apache中怎么配置网站的默认首页
摘要:配置方法如下:1、首先需要打开Apache的配置文件httpd.conf文件,使用一般的编辑器或者记事本打开均可。2、找到或者搜索到如下字段:<IfModule dir_module> DirectoryIndex index.php index.php3 index.html index.htm 阅读全文

posted @ 2016-12-16 16:55 飞离地平线 阅读(498) 评论(0) 推荐(0) 编辑

thinkphp怎么设置输入网址直接进入首页
摘要:1.设置apache服务器的时候,文件的位置要写包含index.php的那个主文件夹。 2.apache和thinkphp默认index.html是作为网站的默认首页,所以在浏览器端可以直接输入网址进入网站首页。 3.要修改网站的默认首页可以从apache服务器中httpd.conf中修改,也可以再 阅读全文

posted @ 2016-12-16 16:52 飞离地平线 阅读(655) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示