PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Russell Nash   Expandable Menu   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of how to use/implement the menu
Class: Expandable Menu
Generate an expandable menu of links
Author: By
Last change: new features explained
Date: 17 years ago
Size: 669 bytes


Class file image Download
("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
<title>Advanced Expandable Menu</title>
<body<?= $mnu->LoadMenuState('Services') ?>>
<table cellpadding="0" cellspacing="0"><tr>
<td align="center" colspan="2"><br style="font-size:4pt">
My Menu<br />
 <?= date("l F j Y") ?><br /><br style="font-size:4pt"></td></tr>
simply use the following line anywhere in a page to display the menu.
<?= $mnu->BuildMenu(); ?>