jquery - how to get menus displayed in the sample website -
i creating website , trying create menus similar below site
<div class="collapse navbar-collapse" id="navbar-collapse-1"> <ul class="nav navbar-nav" style="float: inherit;"> <li class="col-sm-2"><a href="#"></a></li> <li id="categorydropdownid" class="dropdown col-sm-2"><a href="#" class="dropdown-toggle text-center">see category <b class="caret"></b> </a> <ul id="dropdownmenuid" class="dropdown-menu pull-right" style="min-width: 196px;"> <li><a href="#">dropdown 1</a></li> <li><a href="#">dropdown link 2</a></li> <li><a href="#">dropdown link 3</a></li> <li><a href="#">dropdown link 4</a></li> <li><a href="#">dropdown link 5</a></li> <li><a href="#">dropdown link 6</a></li> <li><a href="#">dropdown link 7</a></li> <li><a href="#">dropdown link 8</a></li> <li><a href="#">dropdown link 9</a></li> <li><a href="#">dropdown link 10</a></li> <li><a href="#">dropdown link 11</a></li> <li class="divider"></li> <li class="dropdown dropdown-submenu"><a href="#" class="dropdown-toggle" id="samplelinkid">dropdown link 12</a> <!-- <div class="" id="addframe" style="z-index: 0; background-color: black;"> --> <ul class="dropdown-menu" style="margin-top: -310; height: 370px; z-index: 1;"> <li><a href="#">dropdown submenu 12.1</a></li> <li><a href="#">dropdown submenu 12.2</a></li> <li><a href="#">dropdown submenu 12.3</a></li> <li><a href="#">dropdown submenu 12.4</a></li> </ul></li> <li class="dropdown dropdown-submenu"><a href="#" class="dropdown-toggle">dropdown link 13</a> <ul class="dropdown-menu" style="margin-top: -310; height: 370px; z-index: 1;"> <li><a href="#">dropdown submenu 13.1</a></li> <li><a href="#">dropdown submenu 13.2</a></li> <li><a href="#">dropdown submenu 13.3</a></li> <li class="divider"></li> <li class="dropdown dropdown-submenu"><a href="#" class="dropdown-toggle" data-toggle="dropdown">dropdown submenu link 13.4</a> <ul class="dropdown-menu"> <li><a href="#">dropdown submenu link 13.4.1</a></li> <li><a href="#">dropdown submenu link 13.4.2</a></li> <li class="divider"></li> <li class="dropdown dropdown-submenu"><a href="#" class="dropdown-toggle" data-toggle="dropdown">dropdown submenu link 13.4.3</a> <ul class="dropdown-menu"> <li><a href="#">dropdown submenu link 13.4.3.1</a></li> <li><a href="#">dropdown submenu link 13.4.3.2</a></li> <li><a href="#">dropdown submenu link 13.4.3.3</a></li> <li><a href="#">dropdown submenu link 13.4.3.4</a></li> </ul></li> <li class="dropdown dropdown-submenu"><a href="#" class="dropdown-toggle" data-toggle="dropdown">dropdown submenu link 13.4.4</a> <ul class="dropdown-menu"> <li><a href="#">dropdown submenu link 13.4.4.1</a></li> <li><a href="#">dropdown submenu link 13.4.4.2</a></li> <li><a href="#">dropdown submenu link 13.4.4.3</a></li> <li><a href="#">dropdown submenu link 13.4.4.4</a></li> </ul></li> </ul></li> </ul></li> </ul></li> <li class="col-sm-1"><a href="#"></a></li> <li class="col-sm-1"><a href="#"></a></li> <li class="col-sm-1"><a href="#"></a></li> <li class="col-sm-1"><a href="#">link</a></li> <li class="col-sm-1"><a href="#">link</a></li> <li class="col-sm-1"><a href="#">link</a></li> <li class="col-sm-1"><a href="#">link</a></li> </ul> </div>
but have tried above code, nothing works me.
please see fiddle
i have attached page below
edit:- have attached screen shot , have achieved far is, can able sub menus inside menus, when hover menu, need menu along background images. don't know how achieve this, using bootstrap css menu alignment.
Comments
Post a Comment