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 11:48:56 PDT
Message User: jrobbins
Date: 03/06/25 11:48:56

Modified
 /sstree/www/
  example4.html

Log
 adding no-repeat 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.10​&r2=1.11
Delta lines: +3 -3
-------------------
--- example4.html 17 Apr 2003 04:26:51 -0000 1.10
+++ example4.html 25 Jun 2003 18:48:56 -0000 1.11
@@ -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)";
+ elm.style.background = "url(/branding/image​s/sstree/folder-clos​ed.gif) no-repeat";
  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)";
+ elm.style.background = "url(/branding/image​s/sstree/folder-open​.gif) no-repeat";
     }
     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)";
+ s.style.background = "url(/branding/image​s/sstree/folder-clos​ed.gif) no-repeat";
    }
  }
 }




--------------------​--------------------​--------------------​---------
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 11:48:56 PDT
Messages per page: