Lines Matching +full:i +full:- +full:plus
1 /*--------------------------------------------------------|
3 |--------------------------------------------------------|
4 | Copyright (c) 2002-2003 Geir Landro |
10 |--------------------------------------------------------|
16 |--------------------------------------------------------|
22 |--------------------------------------------------------|
23 | jQuery update - 27 02 2012 |
25 |--------------------------------------------------------|
27 |-------------------------------------------------------*/
33 * - div#cdtree_<id indexmenu> div top level
34 * - div#dtree_<id indexmenu> div contains all nodes
35 * - div#toc_<id indexmenu> ??
36 * - div.dtreeNode
37 * - img#i<id indexmenu><nodenr?> icon
38 * - a#s<id indexmenu><nodenr?> url to page/namespace with title
39 * - div#t<id indexmenu><nodenr?> button for opening ToC, included if hovered
40 * - div.d<id indexmenu><nodenr?>
41 * repeats: - div.dtreeNode (with img#i, a#s and div#t)
42 * repeats: - div.d<id indexmenu><nodenr?>
43 * - z<id indexmenu> scroll rightward arrows
44 * - left_<id indexmenu> scroll leftward arrows
47 * - picker_<id indexmenu> popup with ToC
48 * - r<id indexmenu> rightmouse button menu
134 plus: imagePath + 'plus.' + imgExt, property
148 this.root = new dTreeNode(false, -1);
312 …str += '<img id="i' + this.treeName + nodeId + '" src="' + ((node._io) ? node.iconOpen : node.icon…
359 …his.icon.minusBottom : this.icon.minus) : ((node._ls) ? this.icon.plusBottom : this.icon.plus ) ) +
516 eIcon = jQuery('#i' + this.treeName + id)[0];
518 …) ? this.icon.minusBottom : this.icon.minus) : ((bottom) ? this.icon.plusBottom : this.icon.plus));
528 yday = new Date(now.getTime() - 1000 * 60 * 60 * 24);
557 if (pN !== -1) {
560 if (endPos !== -1) {
608 let r, cn, match, t, i, n, cnsa, cna;
611 match = cns.match(r) || -1;
618 for (i = 0; i < this.aNodes.length; i++) {
619 cn = this.aNodes[i];
645 if (id === -1 || this.aNodes[id]._ok) {
670 for (ln = rd.length - 1; ln >= 0; ln--) {
716 * @param {int} i
718 dTree.prototype.scroll = function (where, s, n, i) { argument
733 w = parseInt(dtree.parentNode.offsetWidth - nodeId.offsetWidth - nodeId.offsetLeft);
735 w = w - 11;
742 this.scrollLeft(dtreel, s, w - 3, i);
752 * @param {int} i
754 dTree.prototype.scrollLeft = function (lft, s, w, i) { argument
755 if (lft < w - i - 10) {
763 self.scrollLeft(lft - s, s + i, w, i);
781 if (lft > -15) {
834 w = parseInt(dtree.parentNode.offsetWidth - node.offsetWidth - node.offsetLeft + 1);
838 div.style.left = parseInt(node.offsetLeft + node.offsetWidth + w - 12) + "px";
845 * Show and resize the scroll-back button relatively to size of tree
887 var i, ajxnodes, ajxnode, plus;
888 plus = selft.aNodes.length - 1;
896 for (i = 0; i < ajxnodes.length; i++) {
897 ajxnode = ajxnodes[i];
898 ajxnode[2] = (ajxnode[2] == 0) ? node.id : ajxnode[2] + plus;
899 ajxnode[1] += plus;