Login   Register  
PHP Classes
elePHPant
Icontem

xPandMenu: Generate a dynamic hierarchic menu

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-12-16 (9 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 6,151 This week: 1All time: 329 This week: 1,393Down
Version License Categories  
xpandmenu 1.0BSD LicenseHTML
Description Author  

This class lets you create an hierarchic menu based on a list of menu items and submenu items (parents and children).

The generated menu can expand and collapse menu dynamically, that is when the user clicks on a menu item, all corresponding submenu items are shown (or hidden if already visible).

A good example of what it looks like is the list of documents and directories in the left frame of the Microsoft Windows Explorer.

The use of the class is fairly easy. Simply add parents and children elements in the same order you would like to see them in the menu. Then let the class generate the code for you.

The HTML code generated is only based on <DIV> tags and is compatible with all browsers.

The generated menu is fully customizable using CSS. You may write your own CSS style definitions to configure the look and feel of parents and children menu items'.

The class also lets you define an image to use as the expand and collapse box. This is optional but can be handy to make the menu easier to understand.

Picture of Patrick Brosset
Name: Patrick Brosset <contact>
Classes: 3 packages by
Country: France France
Age: 34
All time rank: 18911 in France France
Week rank: 574 Down20 in France France Down

  Files folder image Files  
File Role Description
Plain text file demo.php Example How to use the class, demo file
Accessible without login Plain text file demo_win.php Example How to use the class, demo file, windows style
Plain text file xPandMenu.php Class Class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:6,151All time:329
 This week:1This week:1,393Down
User Ratings User Comments (1)  
 All time
Utility:94%StarStarStarStarStar
Consistency:94%StarStarStarStarStar
Documentation:-
Examples:96%StarStarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:420
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar