This page demonstrates the technique for building menus using PHP

The files needed are mm_phpconfig.php and mm_phpmenu.php
style="menuStyle"; $mmMenu->alwaysvisible="true"; $mmMenu->orientation="horizontal"; $mmMenu->position="relative"; // Add some menu items - This can be all on one line using the addItemFromText method. // However, you can add single item properties using the following code: /* $mmItem = new mItem(); $mmItem->addItemElement("text", "Single Item Test"); $mmItem->addItemElement("url", "singleitems.php"); $mmItem->addItemElement("title", "Test of single item"); $mmItem->addItemElement("oncolor", "ff0000"); $mmMenu->addItemFromItem($mmItem); */ $mmMenu->addItemFromText("status=Back To Home Page;text=Home;url=http://www.milonic.com/;"); $mmMenu->addItemFromText("showmenu=Samples;text=Menu Samples;"); $mmMenu->addItemFromText("showmenu=Milonic;text=Milonic;"); $mmMenu->addItemFromText("showmenu=Partners;text=Partners;"); $mmMenu->addItemFromText("showmenu=Links;text=Links;"); $mmMenu->addItemFromText("showmenu=MyMilonic;text=My Milonic;"); $mmMenu->createMenu("Main Menu"); drawMenus(); ?>
JavaScript Menu Powered by Milonic