Always visible submenu - [Solved]

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
thesasha
Advanced
Advanced
Posts: 10
Joined: Mon May 17, 2004 5:30 pm
Location: Los Angeles, CA

Always visible submenu - [Solved]

Post by thesasha »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,
Is this the thread? http://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://milonic.com/menu_methods.php
and this is to menu variables: http://milonic.com/menu_variables.php

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Last edited by Ruth on Thu Jun 03, 2004 1:23 am, edited 1 time in total.
thesasha
Advanced
Advanced
Posts: 10
Joined: Mon May 17, 2004 5:30 pm
Location: Los Angeles, CA

Post by thesasha »

Ruth, you friggin' rock!!!!!!!! Thanks for going in such a trouble to explain the options!

S. :D
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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://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
thesasha
Advanced
Advanced
Posts: 10
Joined: Mon May 17, 2004 5:30 pm
Location: Los Angeles, CA

Re: Always visible submenu

Post by thesasha »

Ruth...just wanted to thank you for such a hard work!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Always visible submenu

Post by Ruth »

Thanks so much. I appreciate it :D 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
Post Reply