Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /sstree/www/ > Reply to message

sstree
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author anoncvs
Full name anonymous CVS access
Date 2003-09-01 12:52:48 PDT
Message User: jrobbins
Date: 03/09/01 12:52:48

Modified
 /sstree/www/
  example4.html

Log
 tried to actually make sub-folders implicitly close (show closed folder icon)

File Changes:

Directory: /sstree/www/
=======================

File [changed]: example4.html
Url: http://sstree.tigris​.org/source/browse/s​stree/www/example4.h​tml.diff?r1=1.14​&r2=1.15
Delta lines: +7 -4
-------------------
--- example4.html 1 Sep 2003 19:05:43 -0000 1.14
+++ example4.html 1 Sep 2003 19:52:48 -0000 1.15
@@ -39,7 +39,10 @@
    var s = rows[j];
    if (matchStart(s.id, thisID, matchDirectChildrenOnly)) {
      s.style.display = newDisplay;
- s.item(0).item(0).it​em(0).style.backgrou​ndImage = "url(/branding/image​s/sstree/folder-clos​ed.gif)";
+ var cell = s.getElementsByTagNa​me("TD")[0];
+ var tier = cell.getElementsByTa​gName("DIV")[0];
+ var folder = tier.getElementsByTa​gName("A")[0];
+ folder.style.backgroundImage = "url(/branding/image​s/sstree/folder-clos​ed.gif)";
    }
  }
 }
@@ -84,15 +87,15 @@
  </tr>
 
  <tr id="1" class="a">
- <td><div class="tier1"><a href="#" onclick="toggleRows(this)" class="folder"></a>By Activity</div></td>
+ <td id="p1"><div id="p2" class="tier1"><a id="p3" href="#" onclick="toggleRows(this)" class="folder"></a>By Activity</div></td>
   <td>--</td>
   <td>username</td>
   <td>details...</td>
  </tr>
  
  <tr id="1-1" class="a">
- <td><div class="tier2"><a href="#" onclick="toggleRows(this)" class="folder">​</a>Project Planning</div></td>
- <td>--</td>
+ <td id="p4"><div id="p5" class="tier2"><a id="p6" href="#" onclick="toggleRows(this)" class="folder">​</a>Project Planning</div></td>
+ <td id="p7">--</td>
   <td>username</td>
   <td>details...</td>
  </tr>




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@sstr​ee.tigris.org
For additional commands, e-mail: cvs-help at sstree dot tigris dot org