[Zope] dtml-tree inside html table

Dieter Maurer dieter@handshake.de
Fri, 14 Feb 2003 20:33:19 +0100


Leonardo Fernandes wrote at 2003-2-14 13:17 -0200:
 > Well, I've got a very specific question, I'd like to use a dtml-tree
 > inside a table for using it like a menu. The problem is when I expand
 > the tree created whatever is on top of the page disappears and the table
 > gets on top of the screen (I have to scroll to see the top of the page).
 > I'd like to know if anyone knows how to make it work as expected.

This usually means some problem with the HTML table structure...

I do not have time to look more closely at your problem.

But, I would suggest to use the tree building support
in "ZTUtils". It gives your *much* finer control
over the tree layout than "dtml-tree".
The ZPT examples contain some nice examples about tree display
with the "ZTUtils" package.


Dieter