diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-24 18:57:25 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-24 18:57:25 (GMT) |
commit | c7bc295f92f56d1dea369663e058933f550a0187 (patch) | |
tree | 81d72027898b1a75221b9ca82b04075277821a9f /src/treeview.js | |
parent | 9793ce49f1d7641854ef0608b34c1dd2d4891a20 (diff) | |
download | Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.zip Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.tar.gz Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.tar.bz2 |
Release-1.2.14-20020224
Diffstat (limited to 'src/treeview.js')
-rw-r--r-- | src/treeview.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/treeview.js b/src/treeview.js index 240d654..6b5ef51 100644 --- a/src/treeview.js +++ b/src/treeview.js @@ -31,7 +31,7 @@ function Folder(folderDescription, tagName, hreference) //constructor //dynamic data this.isOpen = true - this.iconSrc = "ftv2folderopen.gif" + this.iconSrc = "ftv2folderopen.png" this.children = new Array this.nChildren = 0 @@ -81,10 +81,10 @@ function propagateChangesInState(folder) { if (folder.nodeImg) if (folder.isLastNode) - folder.nodeImg.src = "ftv2mlastnode.gif" + folder.nodeImg.src = "ftv2mlastnode.png" else - folder.nodeImg.src = "ftv2mnode.gif" - folder.iconImg.src = "ftv2folderopen.gif" + folder.nodeImg.src = "ftv2mnode.png" + folder.iconImg.src = "ftv2folderopen.png" for (i=0; i<folder.nChildren; i++) folder.children[i].display() } @@ -92,10 +92,10 @@ function propagateChangesInState(folder) { if (folder.nodeImg) if (folder.isLastNode) - folder.nodeImg.src = "ftv2plastnode.gif" + folder.nodeImg.src = "ftv2plastnode.png" else - folder.nodeImg.src = "ftv2pnode.gif" - folder.iconImg.src = "ftv2folderclosed.gif" + folder.nodeImg.src = "ftv2pnode.png" + folder.iconImg.src = "ftv2folderclosed.png" for (i=0; i<folder.nChildren; i++) folder.children[i].hide() } @@ -138,14 +138,14 @@ var nc if (level>0) if (lastNode) //the last 'brother' in the children array { - this.renderOb(leftSide + auxEv + "<img name='nodeIcon" + this.id + "' src='ftv2mlastnode.gif' width=16 height=22 border=0></a>") - leftSide = leftSide + "<img src='ftv2blank.gif' width=16 height=22>" + this.renderOb(leftSide + auxEv + "<img name='nodeIcon" + this.id + "' src='ftv2mlastnode.png' width=16 height=22 border=0></a>") + leftSide = leftSide + "<img src='ftv2blank.png' width=16 height=22>" this.isLastNode = 1 } else { - this.renderOb(leftSide + auxEv + "<img name='nodeIcon" + this.id + "' src='ftv2mnode.gif' width=16 height=22 border=0></a>") - leftSide = leftSide + "<img src='ftv2vertline.gif' width=16 height=22>" + this.renderOb(leftSide + auxEv + "<img name='nodeIcon" + this.id + "' src='ftv2mnode.png' width=16 height=22 border=0></a>") + leftSide = leftSide + "<img src='ftv2vertline.png' width=16 height=22>" this.isLastNode = 0 } else @@ -274,7 +274,7 @@ function Item(itemDescription, tagName, itemLink) // Constructor this.id = -1 //initialized in initalize() this.navObj = 0 //initialized in render() this.iconImg = 0 //initialized in render() - this.iconSrc = "ftv2doc.gif" + this.iconSrc = "ftv2doc.png" // methods this.initialize = initializeItem @@ -305,13 +305,13 @@ function initializeItem(level, lastNode, leftSide) if (level>0) if (lastNode) //the last 'brother' in the children array { - this.renderOb(leftSide + "<img src='ftv2lastnode.gif' width=16 height=22>") - leftSide = leftSide + "<img src='ftv2blank.gif' width=16 height=22>" + this.renderOb(leftSide + "<img src='ftv2lastnode.png' width=16 height=22>") + leftSide = leftSide + "<img src='ftv2blank.png' width=16 height=22>" } else { - this.renderOb(leftSide + "<img src='ftv2node.gif' width=16 height=22>") - leftSide = leftSide + "<img src='ftv2vertline.gif' width=16 height=22>" + this.renderOb(leftSide + "<img src='ftv2node.png' width=16 height=22>") + leftSide = leftSide + "<img src='ftv2vertline.png' width=16 height=22>" } else this.renderOb("") |