YJSGframework / yjsg

YJSG Template Framework Plugin
GNU General Public License v2.0
17 stars 14 forks source link

accordion menu #30

Closed dsimonse closed 8 years ago

dsimonse commented 8 years ago

I want to use the accordion menu but it's not perfect :) I want to use at least a 3-tier menu but with the "accordion no toggle" option the menu becomes to long and with the "accordion" option the menu closes to level1 all the time. I would like it to be like this: I select a level1 menu option wich opens up several level2 option. I select a level 2-option that opens up several level-3 options wich are the final selectable options. If I want to open another level2 option the previous level2 should close and my new selection should open. menu-less expanded menu-expanded

danyj commented 8 years ago

Not sure what the problem is , here is video with all levels http://screencast.com/t/DG6i5EsDi

http://prntscr.com/a34h05

dsimonse commented 8 years ago

Hi Dan! The video shows how I want it to work but it doesn't. It's our new site so it isn't published yet - but you have selected "accordion"?

http://rojteatern.nu/nysite15/

danyj commented 8 years ago

yes , I have accordion selected

dsimonse commented 8 years ago

Ok - me too - but I get a different behaviour than you showed.

dsimonse commented 8 years ago

That's great that you were able to reproduce it!

danyj commented 8 years ago

this seems like expected behavior ,

Accordion option should toggle next level and works only 1 level deep , no toggle should do what you need and it shows only first level drops, can you please switch to no toggle

previous msg about offcanvas was wrong since I had 2 menus published , one on page , another in offcanvas

danyj commented 8 years ago

Here is new video with template you have, the accordion setting and the switch to no toggle http://screencast.com/t/LffJPbFBi

dsimonse commented 8 years ago

Hi Dan, So is it possible to have it as a enhancement-request?

danyj commented 8 years ago

I cannot promise it , did try to make it work as you asked today but the structure is to complex to close only the ones that belong to an open sub . This is why we did the double option instead.

dsimonse commented 8 years ago

So what's the difference in the code in the first video where you showed that it worked in a vertical menu?

danyj commented 8 years ago

it did not work , there were 2 menus , and it was closing the "hidden" one ( offcanvas) and opening visible one, when I disabled it it acted by default