Morover, in this case javascript is necessary to make the menu compatible with the css rules of bootstrap.
Il giorno venerdì 1 giugno 2012 00:11:23 UTC+2, Anthony ha scritto: > > I don't get why Javascript would be needed for nested menus. >> http://www.grc.com/menudemo.htm >> >> GRC's pure CSS menus work great without javascripts. >> > > Javascript isn't required but can be used to improve the user experience. > For example, Superfish<http://users.tpg.com.au/j_birch/plugins/superfish/>has > a mouseout delay, incorporates > hoverIntent <http://cherne.net/brian/resources/jquery.hoverIntent.html>, > and optionally includes > Supersubs<http://users.tpg.com.au/j_birch/plugins/superfish/#sample5>for > variable menu width. hoverIntent is particularly helpful with > multi-level menus, as it allows you to jump diagonally down to an item in > the expanded submenu rather than having to make a horizontal move followed > by a vertical move (try that on the GRC menu and you'll see what I mean). > > Anthony >