-
- 1,193 Posts
thanks for posting that link kyle! I am a big fan of that site for list CSS!
-sD-
-
- 22 Posts
after sucessfully implementing this I found one shortcoming - any workarounds?
If one of the menu items is a folder with a blank template (not a page, just a folder) and it has children, it won’t reveal the 2nd level menu items when clicked.
-
- 22 Posts
Actually, I set it to a blank template on purpose. I wanted it to be a non-clickable "category header" with child pages.
Is there another way I can do this?
If you think about it, it makes sense that the "empty" folder would not display any children when clicked. The "empty" folder has no link, no page to go to, so how can it be give the .here class, since you are not going anywhere when you click on it? The change in menu structure, the adding of the .here class to the current item’s li container, occurs on the page refresh, when the DropMenu snippet’s code is run while parsing the new document. While going through the list of children to generate their links, if the child’s ID is the same as the document ID then the .here class is added to the li element. Just clicking on something will not do that.
-
- 22 Posts
Thanks for all your help and suggestions, Scotty...been working on other projects the last few days...and I’ll review the threads and see what I can do.!
-
- 160 Posts
It would seem to me that
Stu Nicholl’s new drop menu method is dang near custom built for this treatment. And LOOK MA! NO JAVASCRIPT! Works in IE too.
And I gotta say, this was the EASIEST drop menu system to install ever. Drop it in. Change a bit of spacing and a few colors. Done.
The only thing I have to figure out is how exactly to script it so that IF the flyout happens under the far right toplevel it puts the class of "left" on the list item that contains the nested list. No big deal if it’s my site, but this one is a client site and you KNOW that means that is the first thing that the client does is put a nested list there . . . also, though it’s not NECESSARY for the menu to work, it would be cool to have the "drop" class on the anchor tag of the list item that has the nested list inside it so the little arrow or whatever image or different background or whatever you choose will appear and tip people off that this is a list item that has more links associated with it. Anybody who has better php coding skills than me (which is almost everybody) please let me know if you have an idea.