List based menu

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:

List based menu

Post by jshep »

Does anyone know how to prevent non-menu lists from being displayed on pages using a list based menu?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I'm not sure what you mean by non-menu lists. The only thing I can think to do is to put those lists in noscript tags on those pages. Do you have a url to explain what you want to not show?

Ruth
User avatar
jshep
Beginner
Beginner
Posts: 6
Joined: Mon Feb 28, 2005 4:28 pm
Location: Ottawa, Canada
Contact:

Post by jshep »

Ruth

By non-menu lists I am referring to lists which appear in the body of the page (not necessarily <body>) for examples see Church Records on

http://www.stoneyburn.ca/OPC_Web/Shevio ... ishReg.php The menu on ths page is a "standard" vertical menu.

When converted to a list-based menu strange things begin to happen.
http://www.stoneyburn.ca/OPC_Web/Sheviock/SHEL_1.php

Because the Church Record list is called first it appears as the main menu. The "real" list-based menu items appear as sub-menus and are not in the correct stacking order.

Using the noscript tags in
http://www.stoneyburn.ca/OPC_Web/Sheviock/SHEL_2.php
displays the list-based menu but not the Church Records list in the body of the page.

It would be great to sort these problems out as I believe there is potential for a list-based menu - even with the dead space at the end of the page.

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

Post by Ruth »

I have played with this for the last day. One thing, to keep that other list from being the 'menu' you have to put the Milonic stuff before that. It will then show at least in IE. The problem is in Firefox and Netscape. If you use class=Milonic to hide the list and have the menu, what you get in those browsers is the list and no menu. If you leave that out, you get nothing.

And I"m getting an js error message in Firefox something about an unterminated string literal whatever that is. I'm not knowledgeable enough to track these kinds of things down. I think it might have something to do with the div with the z-index and position absolute, then the menu is position=relative. If you do move the div above those other list items in the page, so that the menu gets 'read' before they get read then it will work in IE.

Ruth
Post Reply