PHP Classes
elePHPant
Icontem

menu.class.php: Create horizontal or vertical cascading 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 (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-10-01 (11 years ago) RSS 2.0 feedStarStarStar 59%Total: 5,925 All time: 364 This week: 1,033Down
Version License Categories  
menuclass 1.0.0GNU General Publi...HTML
Description Author  

This class to meant to create horizontal or vertical cascading menu.

Picture of Sebastian D
Name: Sebastian D <contact>
Classes: 2 packages by
Country: Germany Germany
Age: 35
All time rank: 35724 in Germany Germany
Week rank: 1592 Down88 in Germany Germany Down

Details provided by the author  
Class to create a cascading horizontal/vertival menu

First thanks to Ger Versluis (http://www.burmees.nl/)
and Dynamic Drive Code Library (http://www.dynamicdrive.com)
The JS-Code comes from him. I just use it for the Class.




Short Menu.class.php Description

	In the demo.php is a short example.
    Requirements: menu_com.js in the local dir

    1. Instancing the class
    2. Add some MenuItems with
    	add($Item,$TextToShow,$Link,$BgImage,$NoOfSubs,$Height,$Width);
    3. GetHtml() returns the HTML-Code.

    4. You can Set/Get many MenuAttributes
       Read the Help in hvmenu.zip->config.htm
       You can download it from: http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm 

Todo

    This i the first version and so it isnt complete.
    


Files:
	menu.class.php						Class
    demo.php            				Example of usage
    smarty_demo.php					Smarty Example
    smarty_demo.tpl					Smarty-Tpl
    menu_com.js							JS-Code
    hvmenu.zip							JS-CODE by Ger Versluis --> could not upload to phpclasses.org
    tri.gif,tridown.gif,trileft.gif     Some Gifs :-) --> could not upload to phpclasses.org
    
  Files folder image Files  
File Role Description
Accessible without login Plain text file config.htm Doc. Documentation to the Menuclass/JavascriptCode
Accessible without login Plain text file demo.php Example example
Accessible without login Plain text file install-frames.htm Doc. Documentation of using the JSCode in Frames by Ger Versluis
Plain text file menu.class.php Class class source
Accessible without login Plain text file menu_com.js Aux. js-code by Ger Versluis
Accessible without login Plain text file readme.txt Doc. readme
Accessible without login Plain text file smarty_demo.php Example Example of usage with Smarty
Accessible without login Plain text file smarty_demo.tpl Example tpl for Smarty_demo.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:5,925All time:364
 This week:0This week:1,033Down
 User Ratings  
 
 All time
Utility:73%StarStarStarStar
Consistency:76%StarStarStarStar
Documentation:70%StarStarStarStar
Examples:76%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1013