会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
blogging
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
2016年7月23日
jQuery对象与DOM对象及互相转化
摘要: <p id=‘’hello”></p>普通处理,通过标准JavaScript处理:var p = document.getElementById('hello');p.innerHTML = '您好!'; p.style.color = 'red';jQuery的处理: var $p = $('#h
阅读全文
posted @ 2016-07-23 09:02 blogging
阅读(175)
评论(0)
推荐(0)
2016年7月22日
PHP文件的引用
摘要: require "文件名" 或 include("文件名") 区别:若所包含文件出现错误,include()产生一个警告,require会导致程序终止
阅读全文
posted @ 2016-07-22 07:49 blogging
阅读(125)
评论(0)
推荐(0)
2016年7月21日
js实现选项卡切换
摘要: <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>实践题 - 选项卡</title> <style type="text/css"> /* CSS样式制作 */ *{margin:0;padding:0;font:
阅读全文
posted @ 2016-07-21 13:20 blogging
阅读(268)
评论(0)
推荐(0)
js实现在表格中删除和添加一行
摘要: <!DOCTYPE html><html> <head> <title> new document </title> <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> <script type="text/javas
阅读全文
posted @ 2016-07-21 11:16 blogging
阅读(18387)
评论(0)
推荐(0)
php系统常量
摘要: (1)__FILE__ :php程序文件名。它可以帮助我们获取当前文件在服务器的物理位置。 (2)__LINE__ :PHP程序文件行数。它可以告诉我们,当前代码在第几行。 (3)PHP_VERSION:当前解析器的版本号。它可以告诉我们当前PHP解析器的版本号,我们可以提前知道我们的PHP代码是否
阅读全文
posted @ 2016-07-21 10:45 blogging
阅读(203)
评论(0)
推荐(0)
php变量数据类型
摘要: 整型:可以用十进制、八进制、十六进制指定。十进制就是日常使用的数字;八进制,数字前必须加上“0”(这个0是阿拉伯数字0,可不是英文字母“欧”哦);十六进制,数字前必须加“0x” (这个0也是阿拉伯数字0,不是“欧”哦) 字符串:字符串中包含引号 第一种方案:在单引号中嵌入双引号 第二种方案:在双引号
阅读全文
posted @ 2016-07-21 10:00 blogging
阅读(175)
评论(0)
推荐(0)
2016年7月20日
浏览器窗口可视区域大小
摘要: 一、对于IE9+、Chrome、Firefox、Opera 以及 Safari: • window.innerHeight - 浏览器窗口的内部高度 • window.innerWidth - 浏览器窗口的内部宽度 二、对于 Internet Explorer 8、7、6、5: • document
阅读全文
posted @ 2016-07-20 13:16 blogging
阅读(235)
评论(0)
推荐(0)
DOM节点属性
摘要: 1. nodeName : 节点的名称 1. 元素节点的 nodeName 与标签名相同 2. 属性节点的 nodeName 是属性的名称 3. 文本节点的 nodeName 永远是 #text 4. 文档节点的 nodeName 永远是 #document 2. nodeValue :节点的值 1
阅读全文
posted @ 2016-07-20 09:52 blogging
阅读(145)
评论(0)
推荐(0)
2016年7月10日
自拟定端口号
摘要: 当有其它服务占用该端口wampserver不能正常启动,则可以修改端口号。方法:找到apache-httpd.conf,找到Listen改端口号为8080和ServerName localhost端口号改为8080 重启生效 验证需要带上8080端口号
阅读全文
posted @ 2016-07-10 14:51 blogging
阅读(129)
评论(0)
推荐(0)
多站点配置
摘要: 在wamp-bin-apache-conf-extra->httpd-vhosts.conf里添加两个站点,指定DocumentRoot到文件夹和ServerName(域名) apache默认不包含,则需要在httpd.conf中找到Virtual hosts下去除# 允许其它地址访问:打开apac
阅读全文
posted @ 2016-07-10 14:31 blogging
阅读(117)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
公告