Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Maik Koenig Newsgroups: comp.lang.javascript Subject: Re: Looking for JS library that can do hierarchical menus Date: Thu, 15 Jun 2017 01:31:57 +0200 Lines: 26 Message-ID: References: <5f50f2f4-0e30-4e62-8ce1-6cb843d96432@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net auYzyI8/r5QXcaizhl3zMA+6avylnw0m2KAfDZxEnw8KOCqpbR Cancel-Lock: sha1:cRCMj7RAltw1JoTUXTh6UXizsJw= User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 Hamster/2.1.0.1538 In-Reply-To: <5f50f2f4-0e30-4e62-8ce1-6cb843d96432@googlegroups.com> Xref: csiph.com comp.lang.javascript:33525 Am 14.06.2017 um 17:34 schrieb Haddock: > Let's say I have a main menu bar with 3 menus: > > Line 1: Menu1 >Menu2< Menu3 > > Line 2: Menu2.1 Menu2.2 Menu2.3 Menu2.4 > > > In the little sketch above the user klicked on Menu2 which causes in > a line below the menu items of Menu2 to be displayed which are > Menu2.1 Menu2.2 Menu2.3 Menu2.4. > > Does anyone know of a JS library that has already that kind of menus > implemented? You dont need JS for that. CSS is your friend. Example: https://codepen.io/philhoyt/pen/ujHzd Greetz, MK -- Kopp-Verlag-Gläubige, Religionsdeppen, rechte Vollidioten und ähnlicher Bio-Abfall werden ohne Hinweis ignoriert!