Hi,

If you do not have the class file click here to download

This PHP class can be used to generate dynamic DHTML horizontal menus. The implementation is very simiple and can be modified with ease.
It uses CSS for easy deployment.

Example
	
	//Include the class file
	require_once("menu.php"); 

	//Instantiate the class
$menu = new iH2HMenu; //Files which define the class and javascript
$menu->files("style.css","js.js"); //Set Main link
$menu->setMainLink('Home','http://os.ih2h.net/menu/');

//Set Main link with sublink
$menu->setMainLink('other sites');
$menu->setSubLink('other sites','iH2H','http://www.ih2h.net');
$menu->setSubLink('other sites','H2Hmail','http://www.h2hmail.com');

//Set Main link
$menu->setMainLink('php classes','http://www.phpclasses.org/'); //Generate the layers $menu->makeDivs(); //Generate the menu $menu->makelinks();


Please do not hesitate to contact me for comments, suggestions or any doubts

Sandosh Kumar VR

sandosh@ih2h.net
http://www.ih2h.net/