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:28
Always visible submenu - [Solved]
Poster: thesasha
Dated: Monday May 17 2004 - 17:40:53 BST
Hi,
I want to use a horisontal Milonic menu that has sub menus always visible when on the active page, but would disapear when someone mouses over another top menu that has a different submenu.
Something like at http://www.offithall.com/pages/fund_of_funds.html except that they don't use Milonic DHTML menu, but that's the effect I want to achieve.
I saw a thread in the forum that kind of touched on this subject, but Ruth was not able to answer, or I got lost reading the (long) thread.
Can anyone help?
Thanks
Poster: Ruth
Dated: Tuesday May 18 2004 - 3:09:07 BST
Hi,
Is this the thread? http://www.milonic.com/forum/viewtopic.php?t=4053 where the person wanted a horizontal submenu to become always visible and stay that way on any page which was loaded unless the person moused over a different main menu item to open a different horizontal submenu that he then wanted to become always visible? If that is it, to do that would require writing js functions. I can think of one way to do what you want without javascript except that when you moused over to get another submenu, it would drop down but the one set to be always visible would not then hide, that again would require js functions to be written to do that. You said horizontal menu, do you want that to be centered? I'll work on what I think can be done and get back with it or tell you it wouldn't work. If you know someone who can do js functions for you, here are a couple of links to references for the menu. This is to javascript menu methods and functions: http://www.milonic.com/menu_methods.php
and this is to menu variables: http://www.milonic.com/menu_variables.php
Ruth
Poster: Ruth
Dated: Tuesday May 18 2004 - 9:48:52 BST
Ok, you can do it without js functions but if the site is really big with numerous 'main' sections that have a lot of subsections it might get unwieldy. You do it by putting the necessary menus in a table and making a different data_file for each 'section'. The explanation is move involved than the actual creation. Here's a link to see how it is done. The only thing that won't work here is 'hiding' the always visible submenu. EXAMPLE I used the layout like the link you posted. And, hopefully I got all the links linked One thing it does is pagematch but you could remove that if you didn't want it.
Ruth
Poster: thesasha
Dated: Tuesday May 18 2004 - 17:14:11 BST
Ruth, you friggin' rock!!!!!!!! Thanks for going in such a trouble to explain the options!
S.
Poster: Ruth
Dated: Tuesday May 18 2004 - 17:44:09 BST
Well, I found another option, I think Though I have no clue how it's done, and the pages are aspx or something. But, it seems to do what you want. Here's the forum post http://www.milonic.com/forum/viewtopic.php?t=3814 In that post is a link to a site as an example and a post on how to code, which I have no clue what is being done. It seems this is a little different because it's opening a separate referenced menu with each related link, plus it still has the drop down. Just click the different Program Info / Life Changes and so on to see that menu open on the left side.
Ruth
Re: Always visible submenu
Poster: thesasha
Dated: Tuesday March 25 2008 - 6:13:13 GMT
Ruth...just wanted to thank you for such a hard work!
Re: Always visible submenu
Poster: Ruth
Dated: Tuesday March 25 2008 - 7:06:19 GMT
Thanks so much. I appreciate it I enjoy doing this, it's very interesting figuring things out, or figuring some way to do it. Kind of like solving a mystery, and I learn a lot as I go along.
Ruth