摘要: childNodes 兼容性不是很好,一般用children 元素.childNodes : 只读 属性 子节点列表集合标准下:包含了空白换行和元素类型的节点,也会包含非法嵌套的子节点非标准下:只包含元素类型的节点,ie7以下不会包含非法嵌套子节点childNodes只包含一级子节点,不包含后辈孙级 阅读全文
posted @ 2016-05-09 12:06 Cutelady 阅读(261) 评论(0) 推荐(0)
摘要: nodeType 属性返回节点的类型 语法attrObject.nodeType DOM节点的类型有很多种 12种常用如下 元素节点 : 1属性节点 : 2文本节点 : 3 nodeType取值 Node.ELEMENT_NODE (1) Node.ATTRIBUTE_NODE (2) Node.T 阅读全文
posted @ 2016-05-09 10:47 Cutelady 阅读(206) 评论(0) 推荐(0)
摘要: 求和 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3 阅读全文
posted @ 2016-05-06 18:00 Cutelady 阅读(173) 评论(0) 推荐(0)
摘要: 无标题文档 --> 分类名称 操作 阅读全文
posted @ 2016-05-06 16:15 Cutelady 阅读(157) 评论(0) 推荐(0)
摘要: 1.concat 连接,拼接 <script> var arr1=[1,2,3]; var arr2=[4,5,6]; var arr3=[7,8,9]; alert(arr1.concat(arr2,arr3)) ;</script> 弹出1,2,3,4,5,6,7,8,9 2.reverse 按 阅读全文
posted @ 2016-05-05 12:24 Cutelady 阅读(130) 评论(0) 推荐(0)
摘要: 1.Math.random() 随机函数 Math.random()是令系统随机选取大于等于 0.0 且小于 1.0 的随机数 alert(Math.random())取值在[0,1) 2.Math.round(数字) 四舍五入 alert(Math.round(3.2)) 弹出3 alert(Ma 阅读全文
posted @ 2016-05-05 11:16 Cutelady 阅读(265) 评论(0) 推荐(0)
摘要: 1.min-height min-height:160px;height:auto!important;height:160px; min-height:160px; 设置对象box的最小高度,Firefox、IE7+适用; height:auto!important; 设置对象box的高度无自动定 阅读全文
posted @ 2016-04-27 15:31 Cutelady 阅读(177) 评论(0) 推荐(0)
摘要: 无标题文档 妙味课堂是一支独具特色的IT培训团队,妙味反对传统IT教育枯燥乏味的教学模式,妙味提供一种全新的快乐学习方法! 2013年底,妙味课堂最新推出“远程培训”服务,受到很多朋友们的喜爱与追捧,我们必将更加努力的帮助远程学习的朋友实现技术提升……>>收缩 阅读全文
posted @ 2016-04-26 22:21 Cutelady 阅读(332) 评论(0) 推荐(0)
摘要: 无标题文档 阅读全文
posted @ 2016-04-22 14:27 Cutelady 阅读(176) 评论(0) 推荐(0)
摘要: <form> 元素 HTML 表单用于收集用户输入。 HTML 表单包含表单元素。 表单元素指的是不同类型的 input 元素、复选框、单选按钮、提交按钮等等。 <input> 元素 <input type="text"> 文本输入 <input type="button> 定义按钮。 <input 阅读全文
posted @ 2016-04-21 17:00 Cutelady 阅读(194) 评论(0) 推荐(0)
摘要: 1.圆角 .rd10{-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius: 10px;-khtml-border-radius: 10px; -ms-border-radius:10px;} .rd5{-moz-bor 阅读全文
posted @ 2016-04-19 16:37 Cutelady 阅读(328) 评论(0) 推荐(0)
摘要: 安装说明 1.请将代码添加到网站全部页面的</head>标签前; 2.建议在header.htm类似的页头模板页面中安装,以达到一处安装,全站皆有的效果; 3.如需在JS文件中调用统计分析代码,请直接去掉以下代码首尾的<script type="text/javascript">与</script> 阅读全文
posted @ 2016-04-19 11:25 Cutelady 阅读(260) 评论(0) 推荐(0)
摘要: 多图左右切换滚动 无标题文档 ... 阅读全文
posted @ 2016-03-22 11:48 Cutelady 阅读(192) 评论(0) 推荐(0)
摘要: JavaScript通过innerHTML方法 jquery通过html()方法 阅读全文
posted @ 2016-03-11 16:11 Cutelady 阅读(94) 评论(0) 推荐(0)
摘要: 1-6-1 我已经阅读了上面制度. 阅读全文
posted @ 2016-03-11 15:56 Cutelady 阅读(123) 评论(0) 推荐(0)