The Children’s Day has passed for some days .Has you remembered something happened at your childhood? I remembered I often played a game called hide h...
分类:
其他好文 时间:
2014-10-27 20:55:47
阅读次数:
243
$('.fanye').children('a').animate({ opacity: "show" }, "slow");
分类:
其他好文 时间:
2014-10-27 14:16:31
阅读次数:
186
DOM模型(documentobject model)
?DOM解析器在解析XML文档时,会把文档中的所有元素,按照其出现的层次关系,解析成一个个Node对象(节点)。
?在dom中,节点之间关系如下:
?位于一个节点之上的节点是该节点的父节点(parent)
?一个节点之下的节点是该节点的子节点(children)
?同一层次,具有相同父节点的节点是兄弟节点(sibling)
?一个节点的下一个层次的节点集合是节点后代(descendant)...
分类:
其他好文 时间:
2014-10-26 11:50:27
阅读次数:
215
1 '手机', 'children' => array( 5 array('name' => '非智能机'), 6 array('name' => '智能机', 'children' =>array( 7 array('name' => '...
分类:
其他好文 时间:
2014-10-26 00:25:18
阅读次数:
236
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:
编程语言 时间:
2014-10-26 00:16:25
阅读次数:
341
Description
Every year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many children call on him, so it ma...
分类:
其他好文 时间:
2014-10-22 20:24:03
阅读次数:
307
Bootstrap(v3.2.0)模态框(modal)垂直居中方法:在bootstrap.js文件900行后面添加如下代码,便可以实现垂直居中。that.$element.children().eq(0).css("position", "absolute").css({ "mar...
分类:
其他好文 时间:
2014-10-22 14:19:25
阅读次数:
761
最近项目用到EasyUI的treegrid控件实现树形Table,实现效果如下:treegrid需要的json字符串样式如下[{ "id":1, "name":"C", "size":"", "date":"02/19/2010", "children":[{ ...
children和childNodes1,childNodes 属性,标准的,它返回指定元素的子元素集合,包括HTML节点,所有属性,文本。可以通过nodeType来判断是哪种类型的节点,只有当nodeType==1时才是元素节点,2是属性节点,3是文本节点。有些人错误的使用()去取该集合元素,下表...
分类:
其他好文 时间:
2014-10-17 01:42:13
阅读次数:
210
There are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following req...
分类:
其他好文 时间:
2014-10-17 00:11:33
阅读次数:
277