- This topic has 7 replies, 4 voices, and was last updated 16 years ago by yohanesw.
-
AuthorPosts
-
April 23, 2008 at 11:52 am #56AnonymousMember
Ryan, great plug-in. Many thanks. Is there a way to add a child menu indicator on a parent list item? An arrow or something that indicates a link has a child menu.
Regards,
A
April 23, 2008 at 11:56 am #2213imported_RyanMemberNo, I haven’t figured out a way to do that reliably yet. That is on my list of things to do though.
April 23, 2008 at 12:03 pm #2214AnonymousMember[quote:1ugxv8hl]Andy – no, I haven’t figured out a way to do that reliably yet. That is on my list of things to do though.[/quote:1ugxv8hl]
If there were a way to set the style of the parent li then you could add a style to cover an li with a child menu. Unfortunately the only way I can think of doing it would be with JS, something I’m trying to avoid. If only CSS allowed us to target the parent……. li ul<li or something….even li+ul would do it if it worked, but the adjacent selector doesn’t seem to stick in this instance.
April 23, 2008 at 12:04 pm #2215imported_RyanMemberMy knowledge of Javascript is abysmal, so if can find a way to do this with Javascript I’m all ears. It’s not something I would include by default, but it may be an option that some users would like. As long as it degraded nicely without javascript it could work quite nicely.
If you could apply a certain class to the parents, that would be optimal as I can add a style in the CSS which generates the arrow or whatever method people choose to display that the menu item has child items.
November 12, 2008 at 9:36 am #2216yohaneswMemberhello ryan, this topic maybe quite an old one, but i’m curious about this one as i’m trying to make child indicatior like arrow but still can’t find a solution ” title=”Sad” />
Have you find a way to do this in js/php? Thank you
November 13, 2008 at 8:34 pm #2217malcalevakModeratorDownload the latest beta from here: https://geek.hellyer.kiwi/forum/index.php?topic=592.0
If you enable superfish it will automatically put in some child-menu indicators for you, as demonstrated on my site: http://www.transientmonkey.com
Alternatively, I’ve also modified the php code, and if you know how to write the CSS all items with children now have the class "has_children". Unfortunately I can’t help you with proper CSS if you go that route, but when Ryan has a chance to look over the code changes I’ve made I’m sure he’ll look into updating the CSS generator or something along those lines.
November 15, 2008 at 4:09 am #2218imported_RyanMemberI’m ridiculously busy right now. So I don’t have time to work on this. But thankfully Malcalevak has been extremely helpful in doing some improvements to the plugin.
I’ll be launching a new product in a few weeks time and hopefully after that I’ll get some time to implement some of the new plugin features such as this.
November 17, 2008 at 11:00 am #2219yohaneswMember@malcalevak
thanks a lot man, exactly what i need! -
AuthorPosts
- You must be logged in to reply to this topic.