Headers

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
jshep
Beginner
Beginner
Posts: 6
Joined: Mon Feb 28, 2005 4:28 pm
Location: Ottawa, Canada
Contact:

Headers

Post by jshep »

Is it possibe to define menuheaders with the listbased menu? If so could I see an example?

Thanks

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

Post by Ruth »

Hi Jim,

Well, the only thing I could get it to do was put a 'header' type item in the list base not in the menu itself. It seems that, if it doesn't have an href related to it either linking to a page or a submenu, the item won't appear in the actual Milonic Menu. So, if you want it in the list, this is how I did it. I declared a class style in the head of the html page

Code: Select all

.header {
  font-family: Verdana, Tahoma, Arial;
  font-weight: bold;
  text-size:16px;
  background-color:#ff0000;
  color: #016701;
}
Then I put this as the first 'list' item

Code: Select all

<ul><li><span class="header">Group One</span>
As I said, that only puts the 'non' link item in the listmenu on the page, not in the Milonic Menu.

Since I'm not very conversant with lists or doing css styles or the programming of the menu, that's about all I can give you. It may be that the menu cannot distinguish a header item in a listbased menu. Though it may be possible to write a javascript for that. However, I have no idea just how involved such an undertaking would be.

Ruth
Post Reply