Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /sstree/www/

sstree
Discussion topic

Hide all messages in topic

All messages in topic

CVS update: /sstree/www/

Reply

Author anoncvs
Full name anonymous CVS access
Date 2003-04-15 18:26:13 PDT
Message User: jrobbins
Date: 03/04/15 18:26:13

Modified
 /sstree/www/
  example4.html

Log
 browser compatability experiment

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.4&​r2=1.5
Delta lines: +6 -6
-------------------
--- example4.html 16 Apr 2003 01:19:06 -0000 1.4
+++ example4.html 16 Apr 2003 01:26:13 -0000 1.5
@@ -15,8 +15,8 @@
 <script language="javascript1.2">
 // You probably should factor this out to a .js file
 function toggleRows(elm) {
- var rows = document.getElements​ByTagName('tr');
- elm.style.background = 'url(/branding/image​s/sstree/folder-clos​ed.gif)';
+ var rows = document.getElements​ByTagName("TR");
+ elm.style.background = "url(/branding/image​s/sstree/folder-clos​ed.gif)";
  var newDisplay = "none";
  var thisID = elm.parentNode.paren​tNode.parentNode.id;​
  var effectivePat = "^" + thisID + "-";
@@ -26,7 +26,7 @@
    if (matches != null) {
     if (r.style.display == "none") {
      newDisplay = "table-row";
- elm.style.background = 'url(/branding/image​s/sstree/folder-open​.gif)';
+ elm.style.background = "url(/branding/image​s/sstree/folder-open​.gif)";
     }
     break;
    }
@@ -39,13 +39,13 @@
    var matches2 = s.id.match(effectivePat);
    if (matches2 != null) {
      s.style.display = newDisplay;
- s.style.background = 'url(/branding/image​s/sstree/folder-clos​ed.gif)';
+ s.style.background = "url(/branding/image​s/sstree/folder-clos​ed.gif)";
    }
  }
 }
 
 function collapseAllRows() {
- var rows = document.getElements​ByTagName('tr');
+ var rows = document.getElements​ByTagName("TR");
  for (var j = 0; j < rows.length; j++) {
    var r = rows[j];
    if (r.id.indexOf("-") >= 0) {




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