locked
Want a menu with two levels, but I don't want the dropdowns that appear on hover RRS feed

  • Question

  • User543034316 posted

    I am using the CSSFriendly adapters with the menu.  I have a menu control in my master page, and a site map that includes all the pages in the web site.  For the second level on the menu, I have a separate menu control, and I add the items programmatically.

    When I select an item on the second line, the parent on the top line is also highlighted in the same way.  This is the intent, and uses the .AspNet-Menu-ChildSelected style from the adapter.

    My problem is that when I hover over the top line, the leaf items cover up the lower line, and I don't like how it looks.  I would prefer to have no fly-outs, if that is what they are called.  So I changed MaximumDynamicDisplayLevels to 0, and these go away.  But then .AspNet-Menu-ChildSelected no longer works, and the parent item is no longer styled.  Everything works except that the parent item is not highlighted.

    I'm hoping to find a simple solution.





    Friday, September 3, 2010 8:32 PM

All replies

  • User-863835478 posted

    Please post some code to illustrate what you want to accomplish. 

    Saturday, September 4, 2010 8:23 PM
  • User1927750183 posted

    see this menu

    http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/

    Sunday, September 11, 2011 11:53 AM