Default selected button

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
voodzzz
Beginner
Beginner
Posts: 3
Joined: Wed Oct 04, 2006 8:28 pm

Default selected button

Post by voodzzz »

I want the HOME button to be selected everytime i load certain page on my web site, the HOME menu have sub buttons. I want this to appear on every page to maintain the appearance of the page. Is there any function to set the HOME button to default including its sub contents?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi voodzz,

We need a bit more to understand what it is you want. Can you give us a link to the site so we can figure out what it is you want?

Ruth
camp
Beginner
Beginner
Posts: 4
Joined: Fri Oct 13, 2006 8:13 pm

Post by camp »

I think voodzzz wants to know how to mark a menu item as selected, even if it hasn't been. For example, if you have a simple menu with two items: ITEM1 and ITEM2, how do you make ITEM1 appear selected (pagebgcolor or pagecolor properties) if a page is loaded that is not an actual item the menu or submenu?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

If camp is correct, then the way you can do that is to use the pagematch property and match it to a folder, but in order for that to work you need to have all the pages you want to make the button default in the folder which you are matching.

If that is not what you want could you give an example for us?

Ruth
Post Reply