/[bfilter]/trunk/hide.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/hide.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by dpavlin, Mon Sep 13 13:33:12 2004 UTC revision 27 by dpavlin, Mon Sep 20 18:55:14 2004 UTC
# Line 15  function debug(text) { Line 15  function debug(text) {
15  }  }
16    
17  function element_id(id) {  function element_id(id) {
18            //debug("id: "+id);
19          if (id_cache[id]) {          if (id_cache[id]) {
20                  //debug("from cache "+id+" == "+id_cache[id]);                  //debug("from cache "+id+" == "+id_cache[id]);
21                  return id_cache[id];                  return id_cache[id];
# Line 110  function outline_display(name) { Line 111  function outline_display(name) {
111    
112          var el = element_id(name);          var el = element_id(name);
113    
114            //debug("outline "+name);
115    
116          if (el) {          if (el) {
117                  el.style.backgroundColor = "#e0e0e0";                  el.style.backgroundColor = "#ffff66";
118                  el.style.border = "1px dashed #c0c0c0";                  //el.style.border = "1px dashed #c0c0c0";
119    
120                  if (el.style.display=='none') toggle_display(el.id);                  if (el.style.display=='none') toggle_display(el.id);
121    

Legend:
Removed from v.20  
changed lines
  Added in v.27

  ViewVC Help
Powered by ViewVC 1.1.26