Open robertliuling opened 10 years ago
Thanks for the hint.
This is fixed now thanks for the fiddle script, I need to set the width of the push container to 100%, so the width is fine now. The toggle part helps too.
Thanks,
collapsed: false
work for you?With regard to @robertliuling point 1 - I think I might have a solution. It's probably not the best option but seems to work ok in my testing....
Let's say your top level menu is #menu
. You can add the following to your css to allow scrolling on menus that are longer than the rest of the page length.
div#menu,
div#menu * {
overflow-y: scroll;
}
Caveat: All menus will be scrollable since we are targeting everything in the menu. So even if you have a short menu that doesn't need to scroll, it will scroll as much as the longest menu needs it to scroll. While this can be problematic from a UX standpoint, it's a small price to pay until we come up with something better - IMO. (if someone has already solved this, please submit a PR already!)
oops...never mind. Here's a better solution - http://jsfiddle.net/graycarper/W6nrX/16/
taken from another issue - https://github.com/adgsm/multi-level-push-menu/issues/49#issuecomment-36699745
or using iscroll; take a look at #107
Hi,
2 things:
First: I tried to use this plug in as our navigation menus, which means i need to hide it when initial page load, and allowing a button to show the menu.
However I couldn't find the possible values for this variable anywhere in the code. Can someone kindly provide some help?
Second: I'm trying to integrate bootstrap3 and multi level menu, however, the code seems trying to add extra margins to the pushing container, which results the width of the fluid container to be broken.
Thanks,