Karakas Online

8.2.6. Treemenu with Javascript

Figure 8-5. Treemenu block with Javascript.

Treemenu block with Javascript.

Treemenu block with Javascript.



If you are looking for a Treemenu based on Javascript, you can see one in action at Nuke Turk and download from the PHP-Nuke downloads section there. Since Javascript is a client-based technology, the menu will be downloaded in whole once and no further page requests will be necessary to display its nodes and leaves. This may result in slower downloads for the first time, but faster response times from the menu in expansions and collapses. But it will not work for clients with Javascript disabled.

An alternative Menu Block is "Sommaire Paramétrable" [1](see also Neue Bloecke). You can download it from Customize Menu. This add-on allows the admin to set up his own menu for Nuke web sites (replaces the Modules block that lists all the active & visible modules).

Figure 8-6. Modules block. created with Sommaire Paramétrable.

Modules block. created with Sommaire Paramétrable.

Modules block. created with Sommaire Paramétrable.



Features of version 2.0 :

However, it seems that it does not allow subcategories (FIXME: Is this correct?). The name of the file to download is sommaire_parametrable_v2.zip.

Notes

[1]

This is the original name.

Last updated Sun Aug 7 21:14:12 CEST 2005 Permalink: http://www.karakas-online.de/EN-Book/php-nuke-treemenu-with-javascript.html All contents © 2004 Chris Karakas, Claudio Erba