- This topic has 25 replies, 6 voices, and was last updated 15 years, 11 months ago by malcalevak.
-
AuthorPosts
-
November 10, 2008 at 12:36 am #447malcalevakModerator
Ryan gave me the go ahead to put out my beta to his plugin.
I’ve done some large modifications, but at the moment I don’t have them all written out.
In brief, new (better?) superfish code (from http://users.tpg.com.au/j_birch/plugins/superfish/), new and better keyboard navigation code, jQuery compatibility with other plugins (and those using prototype library), and a new class (has_children) is added to items that have sub-menus.
I’ve tested it out in FF, IE6, IE7, and Opera 9.
Post bugs here, I guess.
And the download is here: http://transientmonkey.com/multi-level- … in-v14.zip
If you want to see an example of it in use, I’m running it on my site: http://www.transientmonkey.com
I also plan on trying it out on wordpress beta 2.7, but I haven’t had a chance yet.
November 11, 2008 at 12:19 am #4131imported_RyanMemberThanks ” title=”Smiley” />
I’ll try to have a good look through the code some time soon’ish.
November 17, 2008 at 6:30 am #4132imported_RyanMemberI’ve downloaded it and am working on it now.
You worked from version 1.3 whereas the latest version is 1.3.2. I’m adding in the extra little bits from 1.3.1 and 1.3.2 to your code now. It’s possible I never uploaded 1.3.1 and 1.3.2 which would have been silly of me! They’re only minor changes though. Iin particular the addition of WP_PLUGIN_URL instead of specifying wp-content/plugins/multi-level-navigation-plugin/ … this allows users to change their wp-content folder to a different name without the plugin breaking. I think this may help with some WordPress Mu issues as well.
The only bug I’ve found with your version was that the folder name had changed, so anyone who uploaded it would not see any changes to their plugin since it would be adding an almost identical version of the same plugin just with a slightly different name.
You’ve also moved the Superfish Javascript to an inline script whereas I generally try to keep everything external to save loading a whole bunch of code on each page reload.
It’s looking pretty good though ” title=”Cheesy” /> Thanks heaps ” title=”Cheesy” /> ” title=”Cheesy” /> ” title=”Cheesy” /> ” title=”Cheesy” />
November 17, 2008 at 6:59 am #4133imported_RyanMemberThose shadows on the dropdowns on your site look pretty awesome … http://www.transientmonkey.com/
November 17, 2008 at 7:08 am #4134imported_RyanMemberThe keyboard navigation seems to be broken.
November 17, 2008 at 4:24 pm #4135yohaneswMember@malcalevak
hi there, thanks for your update, especially on the child menu indicator. If I want to modify the child menu indicator like your example site like the down arrow for the first sub-menu and then right arrow on the child sub-menu where is suppose to edit it?Thanks
November 17, 2008 at 11:47 pm #4136imported_RyanMemberI can’t get this ‘has_children’ class to work.
It is only specified for ‘Pages (single dropdown)’ in the source code, but even when I use that, it still doesn’t display the class on any of the pages which have children.
November 18, 2008 at 3:02 pm #4137malcalevakModerator@Ryan,
I’ve sent you an e-mail seeking clarification on these issues instead of cluttering up the forums.
@yohanesw,
When you say "modify the child menu indicator" what do you mean? Do you mean how do you put in the code to show it? Or how do you change what it looks like?Admittedly the answer to both, I believe, is in the CSS. Unless you’re using an older browser I assume you’re seeing the "pretty" arrows, which are using images (included in the plugin). So if you just want to change their appearance you’d either save over those images with your own, or modify the CSS that refers to them to refer to new images.
CSS isn’t my expertise, though I suspect once the features are ironed out Ryan will implement some form of support for these features in his CSS menu generator (though it might be a premium feature). I don’t want to step on his toes in that regard, but what I can do it point you to the website for the superfish code I implemented into the plugin, http://users.tpg.com.au/j_birch/plugins/superfish/
I’d recommended going to the examples section there and looking over the CSS files.I know it’s not the best of answers, but if you’re willing to take the time you’ll learn a lot more that way too.
Hope that helps.
November 19, 2008 at 6:23 am #4138yohaneswMember@malcalevak
well i’ve been using ryan original plugin and then upgrade it to your beta plugin, in my site it still using the same CSS and the arrow for child indicator was showing from one of the image of my bullet. this is happen in firefoxbut if i open it on IE7, the arrow is gone and the arrow on the child menu doesn’t show properly.
i’ve tried to analyze the css of your example site and i couldn’t understand the logic of your arrow indicator (down & right arrow)
November 19, 2008 at 3:40 pm #4139malcalevakModeratorSorry I can’t help more, I really don’t know CSS very well.
If you’ve looked at the CSS in the example site at the link I gave (not my site) and still can’t figure it out I can’t really help, since that’s essentially what I used when I set up the CSS in the plugin.
It might be best to wait for an update to the CSS generator (assuming there is one) or at least Ryan’s input.
November 20, 2008 at 4:10 am #4140imported_RyanMemberThe new plugin creates bullet points via Javascript hence you can’t find it in malcalevaks CSS. This is generally not the best way to do it and is why my own version doesn’t have this feature. It is generally best done with CSS. However the javascript route is a lot easier and doesn’t require the HTML to have certain classes added to make it work correctly.
I will be adding more features to the CSS generator, but I am ridiculously busy right now. I will get on to it at some point before Christmas though hopefully. In fact there will be an entirely new CSS generator which will hopefully iron out most of the extisting bugs in the system.
November 25, 2008 at 6:25 pm #4141yohaneswMemberjust wanted to confirm that it doesn’t work completely in wp 2.7 beta 3, the settings menu is blank ” title=”Smiley” />
November 25, 2008 at 6:39 pm #4142malcalevakModeratorIt sounds like the tabber javascript isn’t running for you for some reason, since it’s working just fine in my install of wp 2.7 beta 3 (and all subsequent nightlies I’ve tried).
To help explain why I think it’s the tabber script is that, if I understood it correctly, the settings menu (which isn’t tabbed initially) is hidden until the script is loaded (at which point it’s parses the menu into tabs and unhides it).
I’m not really sure why it wouldn’t load, though, unless there’s a conflict somewhere on your specific install.
What browser are you using? IE7? It could be a browser specific issue.
November 26, 2008 at 9:58 pm #4143imported_RyanMemberyohanesw – I’m guessing you probably have a plugin installed which also loads a tabber.js script into the admin panel.
November 28, 2008 at 5:05 am #4144yohaneswMember@malcelevak & ryan
i’ve try to deactivate all the plugins except multi-level navigation and when i try to click on the settings menu, it will show blank page with only "update options" buttoni’ve also try to remove all the plugins and it still doesn’t show anything in the settings menu.
For your info, i’m using fresh installation of wp 2.7 beta 3 + Firefox 3 (IE7 also don’t work)
-
AuthorPosts
- You must be logged in to reply to this topic.