Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > Javascript
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 02-16-2008, 09:34 AM
Borgis1 Borgis1 is offline
Junior Member
Join Date: Feb 2008
Posts: 1
  #1  
Default 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.
Reply With Quote
Unread 02-29-2008, 03:06 PM
Admin
Posts: n/a
  #2  
Default

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.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:36 AM.


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