PHP Classes

File: Breadcrumb

Recommend this page to a friend!
  Classes of njau ndirangu  >  Trail breadcrumbs  >  Breadcrumb  >  Download  
File: Breadcrumb
Role: Example script
Content type: text/plain
Description: Example of how to use the breadcrumb class with navigation trails
Class: Trail breadcrumbs
Keep track of visited pages in session variables
Author: By
Last change:
Date: 13 years ago
Size: 638 bytes


Class file image Download
$trail = new Breadcrumb();
$output=$trail->add('About Us', '/html/aboutus.php');
//Breadcrumb CSS
echo "
         #breadcrumb ul li{
           list-style-image: none;
           padding: 0 3px 0 0;
           margin: 3px 0 0 0;
           font-family: Verdana, Arial, Helvetica, sans-serif;
           color: #0066FF;
         #breadcrumb ul{
           list-style-type: none;
           padding-left: 1em;
           font-family: Verdana, Arial, Helvetica, sans-serif;
           color: #0066FF;


For more information send a message to info at phpclasses dot org.