Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 流星及;Twitter引导:无法更改导航栏顶部菜单名_Twitter Bootstrap_Meteor_Navbar - Fatal编程技术网

Twitter bootstrap 流星及;Twitter引导:无法更改导航栏顶部菜单名

Twitter bootstrap 流星及;Twitter引导:无法更改导航栏顶部菜单名,twitter-bootstrap,meteor,navbar,Twitter Bootstrap,Meteor,Navbar,我正在使用Meteor和Twitter引导。 下面的代码使用引导导航栏,没有Meteor,我可以修改“About”、“Services”和“Contacts”,然后新的名字显示在导航栏的固定顶部 但是,如果我在使用Meteor时修改菜单名,菜单名只会在切换菜单栏中更改,而不会在导航栏固定顶部中更改。如何更改导航栏固定顶部中的菜单名 <head> <title>App name</title> </head> <body> &l

我正在使用Meteor和Twitter引导。 下面的代码使用引导导航栏,没有Meteor,我可以修改“About”、“Services”和“Contacts”,然后新的名字显示在导航栏的固定顶部

但是,如果我在使用Meteor时修改菜单名,菜单名只会在切换菜单栏中更改,而不会在导航栏固定顶部中更改。如何更改导航栏固定顶部中的菜单名

<head>
  <title>App name</title>
</head>

<body>
  <!-- Navigation -->
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                  <span class="sr-only">Toggle navigation</span>
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand" href="#">Title name</a>
          </div>
          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
              <ul class="nav navbar-nav">
                  <li>
                      <a href="pimp.html">New name</a>
                  </li>
                  <li>
                      <a href="#">Services</a>
                  </li>
                  <li>
                      <a href="#">Contact</a>
                  </li>
              </ul>
          </div>
          <!-- /.navbar-collapse -->
      </div>
      <!-- /.container -->
  </nav>  
</body>

应用程序名称
切换导航

这是我的Meteor应用程序之一导航栏的代码:

<nav class="navbar navbar-default navbar-fixed-top">

          <div class="container-fluid navbar-inner">
               <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">Something</a>
               </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                  <ul class="nav navbar-nav">
                    <li><a href="#">Something</a></li>
                    <li><a href="#">Something</a></li>
                    <li><a href="#">Something</a></li>
                    <li><a href="#">Something</a></li>
                  </ul>
                </div><!-- /.navbar-collapse -->


          </div><!-- / container-fluid -->

    </nav>
    <!-- / navbar -->

切换导航
你想写什么就写什么,不要写什么

某物

它应该会起作用