on page load, how do I show sub-menu when on parent link???

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

on page load, how do I show sub-menu when on parent link???

Post by nwilcox »

http://clients2.serverside.net/routesma ... tions.aspx

How do I get the sub menu to "pop" and stay open when I hit the parent level item for Industry Solutions?

I have installed your sub-menu script that pops the currently selected sub-menu item upon page load but it doesn't do the parent or main level.

Is it possible to do what I need with Milonic? Would I set properties on the parent item or sub-menus?

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

Post by Ruth »

Hi,

I am working on it, but I can't even get the submenu to open when I mouseover the item. Have you got some setting for opening them on click only or something?

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

Post by Ruth »

Hi,

Well, I still can't get the menu to work, however I did figure out why the submenu is now showing up when you click on the item and go to the solutions page, there is nothing in that submenu that matches that solutions page url. Try this as your first item in that menu2 submenu and see if that does it. I realize that the first item is an empty header as a spacer so the coding to keep the colors are in there also.

Code: Select all

aI("text= ;itemwidth=13px;type=header;pagematch=solutions.aspx;pagebgcolor=#004B8D;");
That tells that item to 'match' the solutions page and makes the pagebgcolor for that one item be the dark blue of the rest of the menu [/code]

It works when I do it as a 'regular' menu using js files and htm pages. I can't test with the aspx since I can't get the submenus to 'show' in that setup.

Ruth
Post Reply