[Zope-CMF] Expanding menu

Dieter Maurer dieter@handshake.de
Thu, 26 Apr 2001 20:39:08 +0200 (CEST)


Yoke May Seow writes:
 > I want to create a menu that is expandable whenever I click on a link (e.g.
 > folder). I've tried using <dtml tree> but is there a better way to do it?
 > 
 > Currently, I've a folder that contains a few sub-folders. When i click on
 > the folder, the menu will be expandable and thus the sub-folders will
 > appear. The process should be dynamic, i.e. if I add new sub-folders in the
 > future, it'll automatically appear on the menu.
It already does, when you refresh (i.e. reload) the menu.

If you have a standard CMF setup (i.e. without frames), then
any action with reload the (main) page and show a new (and updated)
tree. With frames, you would need Javascript to refresh
the menu frame.


Dieter