[cvs] commit: horde/templates/javascript tree.js

Chuck Hagenbuch chuck at horde.org
Wed Dec 8 09:13:05 PST 2004


chuck       2004-12-08 09:13:05 PST

  Modified files:
    templates/javascript tree.js 
  Log:
  Instead of redrawing the whole tree on expand/collapse, just use display:none to hide the hidden bits. This renders *much* faster on IE, since initial tree rendering (thanks to the use of setting innerHTML) is very slow. Ultimate fix for *that* problem is to use DOM methods to build the whole tree, but that's a much bigger job.
  
  With PNG transparency turned on, I noticed some layout problems with this. I have no idea why. If anyone else sees them, I'd appreciate input.
  
  Revision  Changes    Path
  1.56      +31 -18    horde/templates/javascript/tree.js

  Chora Links:
  http://cvs.horde.org/diff.php/horde/templates/javascript/tree.js?r1=1.55&r2=1.56&ty=u


More information about the cvs mailing list