E
E
Eugene Stack2016-03-16 22:14:07
css
Eugene Stack, 2016-03-16 22:14:07

Why does the menu dropdown in the navbar, in Bootstrape, not work when the button is clicked?

Why doesn't my dropdown menu work when I click on a button?
That is, I click on the "burger" and nothing happens, although the menu should drop out. Can someone explain why and how to fix it? You can see the live issue here evstek.eu5.org/contacts.html

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Контакты | Eugene Stek</title>
    <link href="includes/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="includes/bootstrap/css/myCss.css" rel="stylesheet" media="screen">
    <link href="includes/bootstrap/css/contacts.css" rel="stylesheet" media="screen">
    <script src="includes/bootstrap/js/bootstrap.min.js"></script>
    <script src="includes/jquery/jquery-1.12.1.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container">
        <button type="button"
                class="navbar-toggle"
                data-toggle="collapse"
                data-target=".navbar-collapse" 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 href="index.html" class="pull-left"><img class="img-responsive logo" src="includes/img/logo-png.png"></a>
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="index.html">Главная</a></li>
                <li><a href="#">Портфолио</a></li>
                <li class="active"><a href="contacts.html">Контакты</a></li>
            </ul>
        </div>
    </div>
</nav>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Pochepko, 2016-03-16
@Gared

Connect jquery to bootstrap

W
Web Developer Blog, 2016-03-16
@Alexey_Suprun

How simple it really is

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question