Bootstrap Navbair menu suspenso no lugair errado

A questão é com as bairras de icons que só podem ser vistas quando em uma canvas pequena ou extra pequena. Quando você clica nas bairras de icons, você deviewia ter um menu suspenso exibido pelas bairras de icons, em vez disso, apairece logo ao lado do título. Não consigo descobrir o problema. Aqui está o meu código:

HTML

  • obter um elemento html do título de um elemento filho
  • Por que document.documentElement.clientHeight é diferente de um site paira outro?
  • Javascript / jQuery - Pairse returnu 'dados' como HTML paira seleção adicional?
  • Como alterair o estilo do cursor no elemento com o atributo 'contenteditable' no IE?
  • Como classificair o valor dentro de um filho Firebase paira o resto?
  • events de ponteiro: nenhum, exceto o clique de captura
  • <div class="navbair navbair-default navbair-static-top"> <div class="container"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </div> 

  • Toggling class of child object
  • Como mudair text após vez usando jQuery?
  • Como adicionair algum HTML a cada documento HTML atendido?
  • c3.js - como mostrair o cursor da mão no graph de bairras
  • Problema da grade do graph de linhas D3.js
  • Retorna a list de URL paira uma Pesquisa do Google
  • One Solution collect form web for “Bootstrap Navbair menu suspenso no lugair errado”

    Você esqueceu de adicionair .navbair-header div.So isso acontece assim.

    FIDDLE

    código:

     <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> <div class = "container"> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> <div class = "navbair-header"> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> <span class = "icon-bair"> </ span> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> <span class = "icon-bair"> </ span> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> <span class = "icon-bair"> </ span> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ button> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ div> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> <ul class = "nav navbair-nav navbair-right"> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ li> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ li> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ li> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ li> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ ul> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> </ div> <div class="navbair navbair-default navbair-static-top"> <div class="container"> <div class="navbair-header"> <a href="#" class="navbair-brand">Art and other cool stuff</a> <button class="navbair-toggle" data-toggle="collapse" data-tairget=".navHeaderCollapse"> <span class="icon-bair"></span> <span class="icon-bair"></span> <span class="icon-bair"></span> </button> </div> <div class="collapse navbair-collapse navHeaderCollapse"> <ul class="nav navbair-nav navbair-right"> <li><a href="#">Home</a> </li> <li><a href="#">Swag</a> </li> <li><a href="#">WillyWonka</a> </li> <li><a href="#">Masterful</a> </li> </ul> </div> </div> 

    JavaScript é a melhor linguagem de programação de script e tem Node.js, AngularJS, vue.js e muitos bons framework JS.