0

我有以下片段。尽管按钮出现在屏幕上,但我无法以较小的分辨率切换数据值。单击切换按钮时未显示任何数据。

     <div class="container">  
          <nav class="navbar navbar-default" role="navigation">  
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-headerdata-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse navbar-headerdata-collapse">
          <ul class="nav navbar-nav navbar-right">
            <li class="active"><a href="#">About Us</a></li>
            <li><a href="#">Contact Us</a></li>
            <form class="navbar-form  navbar-right" role="search"> 
            <div class="form-group">
                <input type="text" class="form-control" placeholder="Search">
            </div>
                <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
            </form>
          </ul>
        </div><!-- /.navbar-collapse -->
    </nav>
</div>

有人可以帮助解决问题吗?

谢谢

4

1 回答 1

0

这只是因为引导程序JS的链接不正确。!

于 2013-11-06T10:39:21.430 回答