skip to Main Content

Auto close Navbar when click on link (responsive mode)-Twitter bootstrap

$('.navbar-collapse a').click(function() { $(".navbar-collapse").collapse('hide'); }); <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <nav class="navbar navbar-default fixed-top navbar-expand-md navbar-light shadow-sm"> <div class="container"> <!-- <nav class="navbar navbar-default navbar-fixed-top rhgh-fixed-top"> <div class="container"> //--> <a class="navbar-brand" href="#home"> <i class="fa fa-home"></i>&nbsp;Resthaven Guesthouse </a> <button class="navbar-toggler" type="button"…

VIEW QUESTION

CDN For MDBootsrap-Twitter bootstrap

how to add MDBootstrap in web project i couldnt found the cdn for bootstraps <!-- JQuery --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <!-- Bootstrap tooltips --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script> <!-- Bootstrap core JavaScript --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"></script> <!-- MDB core JavaScript -->…

VIEW QUESTION
Back To Top
Search