Login | Register
My pages Projects Community openCollabNet

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

sstree
Discussion topic

Back to topic list

CVS update: /sstree/www/

Reply

Author anoncvs
Full name anonymous CVS access
Date 2003-06-25 16:48:05 PDT
Message User: jrobbins
Date: 03/06/25 16:48:05

Modified
 /sstree/www/
  example4.html

Log
 setting backgroundImage rather than background as suggested by tfahrner

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.11​&r2=1.12
Delta lines: +3 -3
-------------------
--- example4.html 25 Jun 2003 18:48:56 -0000 1.11
+++ example4.html 25 Jun 2003 23:48:05 -0000 1.12
@@ -16,7 +16,7 @@
 // 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) no-repeat";
+ elm.style.backgroundImage = "url(/branding/image​s/sstree/folder-clos​ed.gif)";
  var newDisplay = "none";
  var thisID = elm.parentNode.paren​tNode.parentNode.id + "-";
  var matchDirectChildrenOnly = false;
@@ -26,7 +26,7 @@
     if (r.style.display == "none") {
      if (document.all) newDisplay = "block"; //IE4+ specific code
      else newDisplay = "table-row"; //Netscape and Mozilla
- elm.style.background = "url(/branding/image​s/sstree/folder-open​.gif) no-repeat";
+ elm.style.backgroundImage = "url(/branding/image​s/sstree/folder-open​.gif)";
     }
     break;
    }
@@ -38,7 +38,7 @@
    var s = rows[j];
    if (matchStart(s.id, thisID, matchDirectChildrenOnly)) {
      s.style.display = newDisplay;
- s.style.background = "url(/branding/image​s/sstree/folder-clos​ed.gif) no-repeat";
+ s.style.backgroundImage = "url(/branding/image​s/sstree/folder-clos​ed.gif)";
    }
  }
 }




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

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /sstree/www/ anoncvs anonymous CVS access 2003-06-25 16:48:05 PDT
Messages per page: