...The API form yahoo YUI center... http://developer.yahoo.com/yui/menu/ IMPORTANT note before start installation ---------------------------------------- Did you follow the instrtuctions in yui module? Before you start following the instructions below please check the readme.txt file in yui module. Set up the yui library first and then follow this file. Installation ------------ - Copy the yui module into Drupal modules directory. - Login as an administrator. Enable the module in the "Administer" -> "Site building" -> "modules" - Edit the settings under "Administer" -> "Site configuration" -> "YUI Menu Settings" to select the root menu. - Modify your page.tpl.php described in "How to modify page.tpl.php" Important Notes: ---------------- The theme should appropriate to use this a drop down menu. Some css based themes may have display problems. For instance garland is an exception because of the phptemplate. To active the menu you have to add a short text in to your active page.tpl.php. How to add menu --------------- To add the menu there is two different approach. 1- Block approach Use the site buildings->blocks->YUI Menu. This option may have design problem on drowdown. So istead of that you can use the second option. Do not forget to specify the Site configuration->YUI Menu Settings->Menu Display type to have the correct direction. 2- Modify paga.tpl.php approach Modify the page.tpl.php file for accurate place. Not: if you use the Top dropdown the yui block menu will be disappear, if you use the left drop down the menu in page.tpl.php will disappear. Currently one of them can be displayed. How to modify page.tpl.php -------------------------- 1- Open your page.tpl.php file under theme/yourtheme directory. 2- Add the following lines to proper place as follows in examples Example in foliage page.tpl.php -------------------------------
 
Example in bluebreeze page.tpl.php -------------------------------
clear-block">