dotela wrote:I found a sample from Dave Lee in the Flare forums using an xlst transformation using SmartMenus, but something that went directly to bootstrap dropdown menus and/or further automating such a process would be pretty cool.
I actually looked at Bootstrap before finding the SmartMenus plugin. Boostrap v3 doesn't natively support multi-level dropdown menus (unlike v2), so I looked at a few different solutions to get multi-level menus in Bootstrap. However, most solutions that I found had some issues; e.g.
- I couldn't find one that allows you to have a linked 'book' topic in the menu; i.e. a parent/book item that's a clickable link to a topic.
- Some didn't support responsive layouts very well.
- Some could only use hover to open menus, so they wouldn't work with a touch input.
SmartMenus was the best menu plugin that I could find, and was easy to demonstrate in an example project (as it didn't require the Bootstrap framework).
Anyway, if you're using Bootstrap, note that
SmartMenus has a Bootstrap addon:
- blog post:
http://www.smartmenus.org/blog/smartmen ... ro-config/Whatever menu plugin you use, the XLST in my example should be quite easy to adjust for a Bootstrap-based menu, as they should all use lists. You'd just need to tweak it slightly to use the style names for your chosen Bootstrap menu plugin.
-
http://ukauthor.wordpress.com/2014/08/07/displaying-the-flare-toc-as-menu/