Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Creating dropdown menu with auto collapse

$
0
0
Hi, i need a little help..
How do i create a conditional dropdown menu? I haven't seen this on the other skins

I'm trying to create this for Ace's vertical home menu,
So i have 3 Menus here :

[Image: ace_zpsa09bf9ca.jpg]
Anime, Film Asia, Film Barat (Western Movies)
each has 5 submenus A-E, F-J, K-O, P-T, U-Z

And when clicked they should expand and show those submenus below them,
just like explorer.
But you cannot expand multiple submenus, it's limited to 1.
so when menu A is expanded,
and you are trying to expand menu B, menu A will close itself / auto collapse

e.g :

1.Click Anime, Anime submenus expanded

Anime
> A - E
> F - J
> K -O
> P - T
> U - Z
Film Asia
Film Barat

2. Click Film Asia, Anime Menu Collapsed automatically, Film Asia submenu expanded

Anime
Film Asia
> A - E
> F - J
> K -O
> P - T
> U - Z
Film Barat

I just need the general idea to achieve this.. cause i haven't seen this on other skins

thanks

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>