Re: HTML_Menu

From: Date: Tue, 06 Jan 2004 12:06:29 +0000
Subject: Re: HTML_Menu
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9991@lists.php.net to get a copy of this message
Hi! Marco Schuler wrote:
I am trying to figure out if it is possible to generate a view of the menu (in tables) as following: +------------------------+-------------------------+
| Menu item 1           | Menu item 2              |
|    Menu item 1.1      |    Menu item 2.1         |
|       Menu item 1.1.1 |    Menu item 2.2         |
|    Menu item 1.2      |    Menu item 2.3         |
|       Menu item 1.2.1 |       Menu item 2.3.1    |
|       Menu item 1.2.2 |       Menu item 2.3.2    |
|                       |        Menu item 2.3.2.1 |
+-----------------------+--------------------------+ I am not clear if I should use menu type sitemap or row for the menu to look like above.
It should be sitemap or tree, depending on your needs. As for how to do this output, I'd suggest doing *two* menus, one with 'Menu item 1' as root and the second with 'Menu item 2'. P.S. It is usually not a good idea to post duplicate questions.

« previous php.pear.general (#9991) next »