I wrote a Knockout binding for MegaMenu that has a hamburger component
A hamburger contains a bunch of categories and items in these categories.
Categories act as headings and are shown in bold. Then they display their elements under a small indent.
Categories and items are just rows retrieved from the database.
Hamburger rules are as follows: -
Do not split the category into columns
Use three columns before scrolling. ie Do not fill in only two columns and have a scroll bar (vertical)
Arrange columns as much as possible
3 columns max
Hamburger has maximum height limit
Categories are ordered alphabetically -
An example of an order is the following: -
, ( , )
, , , , , , , ,
3 ,
Col 1 Col 2 Col 3
----- ----- -----
Beds Dogs Hobbies
Cars Furniture Homes
Cats Gyms Horses
html : -
<div>
<ul>
<li>Beds
<ul>
<li>Item 1</li>
<li>Item 2
</ul>
</li>
<li>Cars
<ul>
<li>Item 1</li>
</ul>
</li>
<li>Cats
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</li>
<li>Dogs
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
</li>
</ul>
</div>
css ?
, .., html