Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:43
loop twice
Poster: cms-user
Dated: Monday May 30 2005 - 22:37:09 BST
the way the menu is built i have to loop the navigation twice. unfortunately i'm in a stupid cms and cannot do that, unless i hack around.
why can't i define my menu like this?
menu_main=new menuname("Main Menu");
menu_main.alwaysvisible=1;
menu_main.left=10;
menu_main.orientation="vertical";
menu_main.style=menuStyle;
menu_main.top=10;
menu_main.aI("status=Back To Home Page;text=Home;url=http://www.milonic.com/;");
menu_main.aI("showmenu=Samples;text=Menu Samples;");
menu_x=new menuname("Samples");
menu_x.overflow="scroll";
menu_x.style=menuStyle;
menu_x.aI("text=Plain Text Horizontal Style DHTML Menu Bar;url=http://www.milonic.com/menusample1.php;")
menu_x.aI("text=Vertical Plain Text Menu;url=http://www.milonic.com/menusample2.php;onfunction=showtip('Another common sample This time, the sub<br>menus are opened from a vertical main menu') ;")
menu_x.aI("text=All Horizontal Menus;url=http://www.milonic.com/menusample25.php;onfunction=showtip('If space is limited, this menu sample shows how<br>to open sub-menus in a horizontal orientation') ;")
menu_x.aI("text=Using The Popup Menu Function Positioned by Images;url=http://www.milonic.com/menusample24.php;onfunction=showtip('The popup function can also open menus<br>based on mouse action but also positioned<br>relative to an image') ;")
menu_main.aI("showmenu=Milonic;text=Milonic;");
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
}
menu_main.aI("showmenu=Partners;text=Partners;");
menu_main.aI("showmenu=Links;text=Links;");
menu_main.aI("showmenu=MyMilonic;text=My Milonic;");
...
this doesn't give an error but only shows the first 2 main nav elements.
greetings
Poster: Ruth
Dated: Tuesday May 31 2005 - 2:09:22 BST
Hi,
I think anyone who might know about this is away at the moment. By the absence of questions on the menu and cms, I have to think people get it to work, but I did find a couple of posts that refer to cms, but I have no idea what they are saying, if there is anything that might give you some info

http://www.milonic.com/forum/viewtopic.php?p=19014
http://www.milonic.com/forum/viewtopic.php?p=27261
Ruth