/[webpac]/trunk2/out/js/search.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 /trunk2/out/js/search.js

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

revision 463 by dpavlin, Wed Sep 15 21:15:23 2004 UTC revision 464 by dpavlin, Thu Sep 23 17:14:33 2004 UTC
# Line 83  function debug(msg) Line 83  function debug(msg)
83  {  {
84  //  return; // Disable debugging  //  return; // Disable debugging
85    
86    if(!debug.box)    var debug_div = element_id('debug');
   {  
     debug.box = document.createElement("div");  
     debug.box.setAttribute("style",  
                            "background-color:white" +  
                            "font-family: monospace; " +  
                            "border: solid black 3px; "+  
                            "padding: 10px;");  
87    
88      document.body.appendChild(debug.box);    if (debug_div) debug_div.innerHTML += msg+"<br/>\n";
     debug.box.innerHTML = "<h1 style='test-align:cent'>Debugging Output</h1>";  
   }  
   
   var p = document.createElement("p");  
   p.appendChild(document.createTextNode(msg));  
   debug.box.appendChild(p);  
89  }  }
90    
91  //  //

Legend:
Removed from v.463  
changed lines
  Added in v.464

  ViewVC Help
Powered by ViewVC 1.1.26