collapse menu and keeping menu open when link is clicked

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kevdog98
Super Advanced
Super Advanced
Posts: 36
Joined: Tue Sep 12, 2006 3:27 pm

collapse menu and keeping menu open when link is clicked

Post by kevdog98 »

Hi,

I am trying to get my collapse memnu to stay open when a link is clicked. So that if my menu is epanded out, and you click on a link it stays open to the part of the expanded menu. Right now my menu closes bacck up everytime a link is clicked.


Thanks for your help.

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

Post by Ruth »

Hi Kevin,

Did you get this worked out? If not can you give us a test page please so we can see what you mean. When you click a link it would seem you open a new page, so if that's the case then in effect you have a 'new' menu so it would be your original starting point but on a new page. The only option I can think is to use openmenusbyurl.js file which has the corresponding menu opened when you get to the page which is in that particular menu/submenu. If you're using a treemenu I believe that's something called openbranchbyname or something.

Ruth
kevdog98
Super Advanced
Super Advanced
Posts: 36
Joined: Tue Sep 12, 2006 3:27 pm

Post by kevdog98 »

Is there any documentation for openbranchbyname for the tree menu? Or can you give me an example of how to call it? Or can I use the openmenubyurl.js with my collapse menu?


Thanks.

Kevin
Post Reply