Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1st level inactive #8

Open
gtbu opened this issue Sep 5, 2020 · 2 comments
Open

1st level inactive #8

gtbu opened this issue Sep 5, 2020 · 2 comments

Comments

@gtbu
Copy link

gtbu commented Sep 5, 2020

I added metismenu (metismenujs - v1.2.1 vertical - because it doesnt need jquery) to cmsimple-cms and have it functioning.
But just the anchors of Menulevel 1 without dropdowns function. At Menulevel 1 with dropdowns only the sublinks function - similar to bootstrap 4 (where the toplevel is inactive as soon as it has a dropdown). The click just opens the dropdown....
If i open the dead anchor in a new browser-tab it functions. The anchors of the deeper menulevels function. Smartmenus doesnt have the problem (hover)

@onokumus
Copy link
Owner

onokumus commented Sep 5, 2020

@gtbu

Could you please share your code?

@gtbu
Copy link
Author

gtbu commented Sep 6, 2020

I use the code from https://onokumus.com/metismenujs/mm-vertical.html# (Auto Collapse default)
--- In the between i know why it doesnt funtion at that point, neither in bootstrap 4. If i klick at a menulevel 1 link with dropdown then the menu opens - and not also the link - otherwise i would immediately be in the site of the toplevel link. The only possibility to overcome this is a mouse-hover-menu which imediately opens the dropdown. Then i can still choose the link of menulevel 1. Of course a code with mouseover in the above site would be great (but i am modest)

P.S. https://mm.onokumus.com/mm-vertical-hover.html with vertical dropdowns would be a solution - but it uses jquery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants