[Zope] dtml-tree inside html table

Leonardo Fernandes leonardo.fernandes@ic.unicamp.br
Fri, 14 Feb 2003 13:17:44 -0200


Hello,

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.

Thanks

Probably this dtml code can help you figure aou what I mean, just copy
and paste it to see what happens:

<html>

<body bgcolor="#00A000" rightmargin="0" leftmargin="0" bottommargin="0"
topmargin="0" marginwidth="0" marginheight="0">

<h1>TESTE</h1>

<table border="0" width="100%" height="100%" align="left"
bgcolor="#FFFFFF" cellspacing="0" cellpadding="10">

<tr>
<td width="20%" bgcolor="#00A000" valign="top">

<dtml-tree some_folder>
   <a href='<dtml-var id>'><dtml-var title_or_id></a>
</dtml-tree>

</td>
<td width="100%">
aaa
</td>
</tr>

</table>
</body>
</html>