PHP Classes
elePHPant
Icontem

Navigation: Site navigation bar generation

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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-10-23 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,279 All time: 1,627 This week: 1,052Up
Version License Categories  
navigation 1.0GNU Lesser Genera...HTML
Description Author  

This class is meant to let you build a dynamic site navigation bar presented in the breadcrumb style.

The navigation bar may display links, one for each level of the site hierarchy. The title of each level link is presented using a CSS style named breadcrumb. The current level is displayed as plain text within a span using the CSS style breadcrumbcurrent.

Picture of Andi TrÓnculescu
Name: Andi TrÓnculescu <contact>
Classes: 2 packages by
Country: Romania Romania
Age: ???
All time rank: 98321 in Romania Romania
Week rank: 1559 Down35 in Romania Romania Down

Details provided by the author  
---------------------------------------------------------------------
Site Navigation class
    - A PHP class which lets you build a dynamic site navigation bar
---------------------------------------------------------------------

HOW TO USE:
-----------

1. instantiate the class
2. register the object within the session
3. use the push() method to add a new page to the end of the navigation bar
4. use the html() method to generate the HTML code for displaying the navigation bar

Other methods:
* pop() removes the last page from the navigation bar
* setLevel() sets the depth of the navigation bar

PACKAGE CONTENTS:
-----------------

* navigation.php: class definition and implementation;
* config.php, index.php: example files;
* README: this file.


CONTACTING THE AUTHOR:
----------------------

Please send your suggestions, bug reports and general feedback to andi@lizard.ro.


LICENSE:
----------

This source file is released under LGPL license, available through the 
world wide web at, http://www.gnu.org/copyleft/lesser.html. This 
library is distributed WITHOUT ANY WARRANTY. Please see the LGPL for 
more details.


---------------------------------------------------------------------
Author: Andi Trinculescu <andi@lizard.ro>
---------------------------------------------------------------------
  Files folder image Files  
File Role Description
Accessible without login Plain text file config.php Example example file
Accessible without login Plain text file index.php Example example file
Plain text file navigation.php Class Site Navigation class
Accessible without login Plain text file README Doc. README
Accessible without login Plain text file style.css Example CSS example file

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,279All time:1,627
 This week:0This week:1,052Up