Bootstrap下拉菜单不起作用

时间:2016-02-01 19:48:03

标签: twitter-bootstrap

它应该是下拉菜单但它不起作用 正确 我无法弄清楚我对此代码的错误 这是我的代码!!!

       

    <nav class="navbar navbar-inverse">
        <div class="container-fluid">
            <!-- Logo -->
            <div class="navbar-header">
                <a href="#" class="navbar-brand">Web Revert</a>
            </div>
            Menu Items 
            <div>
                <ul class="nav navbar-nav">
                    <li class="active"><a herf="#">Home</a></li>
                    <li><a href="#">About</a></li>
                    <li><a href="#">Contact</a></li>
                    <li><a href="#">Works</a></li>
                    <!-- Drop Down menu -->

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Our Profile <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Portfolio</a></li>
                            <li><a href="#">Web Team</a></li>
                            <li><a href="#">Founder Mamber</a></li>
                        </ul>
                    </li>
                </ul>
            Right Aligns
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">Settings</a></li>
                    <li><a href="#">Logout</a></li>

                </ul>
            </div>

        </div>

    </nav>
</body>

需要帮助

1 个答案:

答案 0 :(得分:0)

你先尝试过这个吗?

scanner.nextInt()