cvs: pear /HTML_TreeMenu TreeMenu.js

From: Date: Thu, 06 Feb 2003 15:27:09 +0000
Subject: cvs: pear /HTML_TreeMenu TreeMenu.js
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8734@lists.php.net to get a copy of this message
richard Thu Feb 6 10:27:09 2003 EDT Modified files: /pear/HTML_TreeMenu TreeMenu.js Log: Fix default css for non treemenu capable browsers Index: pear/HTML_TreeMenu/TreeMenu.js diff -u pear/HTML_TreeMenu/TreeMenu.js:1.11 pear/HTML_TreeMenu/TreeMenu.js:1.12 --- pear/HTML_TreeMenu/TreeMenu.js:1.11 Sat Jan 4 06:55:19 2003 +++ pear/HTML_TreeMenu/TreeMenu.js Thu Feb 6 10:27:09 2003 @@ -32,7 +32,7 @@ // | Harald Radi <harald.radi@nme.at> | // +-----------------------------------------------------------------------+ // -// $Id: TreeMenu.js,v 1.11 2003/01/04 11:55:19 mj Exp $ +// $Id: TreeMenu.js,v 1.12 2003/02/06 15:27:09 richard Exp $ /** @@ -197,7 +197,7 @@ * IMPORTANT: * document.write()ing the string: '<div style="display:...' will screw up nn4.x */ - var layerTag = this.doesMenu() ? this.stringFormat('<div id="{0}" style="display: {1}" class="{2}">', layerID, visibility, (nodes[i].cssClass ? nodes[i].cssClass : this.defaultClass)) : this.stringFormat('<div class="{0}">', ''); + var layerTag = this.doesMenu() ? this.stringFormat('<div id="{0}" style="display: {1}" class="{2}">', layerID, visibility, (nodes[i].cssClass ? nodes[i].cssClass : this.defaultClass)) : this.stringFormat('<div class="{0}">', nodes[i].cssClass ? nodes[i].cssClass : this.defaultClass); var onMDown = this.doesMenu() && nodes[i].n.length && nodes[i].isDynamic ? this.stringFormat('onmousedown="{0}.toggleBranch(\'{1}\', true)" style="cursor: pointer; cursor: hand"', this.myname, layerID) : ''; var imgTag = this.stringFormat('<img src="{0}/{1}{2}.gif" width="20" height="20" align="top" border="0" name="img_{3}" {4}>', this.iconpath, gifname, modifier, layerID, onMDown); var linkTarget= nodes[i].linkTarget ? nodes[i].linkTarget : this.linkTarget;

« previous php.pear.cvs (#8734) next »