Lines Matching defs:children
603 tag: 'li', // assumes li children, override with tag: 'tagname'
756 var children = Sortable.findElements(dropon, {tag: droponOptions.tag, only: droponOptions.only});
759 if(children) {
762 for (index = 0; index < children.length; index += 1) {
763 if (offset - Element.offsetSize (children[index], droponOptions.overlap) >= 0) {
764 offset -= Element.offsetSize (children[index], droponOptions.overlap);
765 } else if (offset - (Element.offsetSize (children[index], droponOptions.overlap) / 2) >= 0) {
766 child = index + 1 < children.length ? children[index + 1] : null;
769 child = children[index];
810 var children = Sortable.findElements(element, options) || [];
812 for (var i = 0; i < children.length; ++i) {
813 var match = children[i].id.match(options.format);
821 children: [],
822 position: parent.children.length,
823 container: $(children[i]).down(options.treeTag)
826 /* Get the element containing the children and recurse over it */
830 parent.children.push (child);
850 children: [],
903 return Sortable.tree(element, arguments[1]).children.map( function (item) {
905 encodeURIComponent(item.id)].concat(item.children.map(arguments.callee));