Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   Javascript (http://www.udm4.com/forum/forumdisplay.php?f=9)
-   -   Adding extra menus in UDM3 (http://www.udm4.com/forum/showthread.php?t=940)

Borgis1 02-16-2008 08:34 AM

Adding extra menus in UDM3
 
How can i add extra menus to the UDM3 menu system?
you are only allowed to have 2 drop down menus but i know you can add more but i don't know how, so if any body can show me how i would be greatly thankful.

and please don't tell me to go read the FAQs because it doesn't tell me how.

02-29-2008 02:06 PM

You can add new top level items by opening the resources/custom.js file and adding something like this...

Code:

MI("index.html","<span class='u'>U</span>ltimate Drop Down Menu",194,"center","","",0,0,"u","#ffeac0","","","");



To add items to that new menu, you can add the following code:

Code:

    // define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
    SP(184,"left","left",0,0,"","","","","","","");

    // add submenu link items ("url","Link name","_target","alt text")

    SI("index.html","Script home","","");



To further add "flyout" menus from there, use this code...

Code:

        // define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
        CP(178,"left","center",0,0,"","","","","","","");

        // add child menu link items ("url","Link name","_target","alt text")

        CI("custom.php?v=menuALIGN","Global style definitions","","");

Hope this helps.


All times are GMT. The time now is 04:26 PM.

Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.