码迷,mamicode.com
首页 >  
搜索关键字:children    ( 1808个结果
下角动画旋转菜单、圆心弹出菜单ArcMenu 源码解析
支持类似Path的左下角动画旋转菜单及横向划出菜单、圆心弹出菜单 项目地址:https://github.com/daCapricorn/ArcMenu一、关注3个效果点击中心控制点 的时候,展开效果:中心控制点旋转45度的动画周围children 弹出动画 2.点击中心控制点的时候,收缩动画:中心...
分类:其他好文   时间:2014-12-09 17:29:33    阅读次数:638
【 D3.js 进阶系列 — 3.2 】 分区图的函数
分区图的布局比较简单,本章介绍一下分区图的参数。分区图布局为:d3.layout.partition()其函数有6个。nodes()将根数据传入后,得到的节点的数组,每个节点添加8个参数:parent - 父节点children - 子节点value - 表示节点的大小,由下面 value() 函数指定的值,父节点的值等于子节点值的和depth - 节点的深度x - 节点的x方向的坐标(不一定指x...
分类:Web程序   时间:2014-12-07 16:30:16    阅读次数:237
Hibernate学习笔记_关系映射_树状结构练习
1 树状结构的设计(至关重要)a) 在同—个类中使用One2Many和Many20ne@Entitypublic class Org { private int id; private String name; private Set children=new HashSet();...
分类:Web程序   时间:2014-12-05 14:07:25    阅读次数:173
PHP 出现 502 解决方案
nginx+php出现502badgateway,一般这都不是nginx的问题,而是由于fastcgi或者php的问题导致的,常见的有以下几种。1.php.ini的memory_limit过小(如果有个别php程序进程需要占用极大内存时这个必须注意)2.php-fpm.conf中max_children或者max_requests设置不合理(设置过小会因..
分类:Web程序   时间:2014-12-04 15:57:30    阅读次数:263
Candy
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-12-03 13:58:52    阅读次数:150
dfs/poj3083 Children of the Candy Corn
1 #include 2 #include 3 #include 4 5 using namespace std; 6 typedef pairP; 7 const int dx[4]={1,0,-1,0}; 8 const int dy[4]={0,1,0,-1}; 9 co...
分类:其他好文   时间:2014-12-02 23:52:09    阅读次数:261
jQuery遍历Table tr td td中包含标签
function shengchen() { var arrTR = $("#tbModule").children(); var Context=""; $("#tbModule").find("tr").each(function () { var arrtd = $(this).childre...
分类:Web程序   时间:2014-12-02 11:45:20    阅读次数:186
Js Json 互转
推荐://js对象转换为 JSON 文本var text = '[{"id":1,"name":"C","size":"","date":"02/19/2010","children":[{"id":2,"name":"Program Files","size":"120 MB","date":"0...
分类:Web程序   时间:2014-12-02 10:26:33    阅读次数:203
获取元素个数
当用children()或nextAll()取得元素集合时,要获得元素数量,应该用size()而不是用length()。如下为示例:1 var chapList = $("#chapter_box").children("div").first().nextAll(".list");2 ...
分类:其他好文   时间:2014-12-01 20:49:52    阅读次数:239
【leetcode】Candy(hard) 自己做出来了 但别人的更好
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-12-01 15:37:11    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!