Answers for "html how to call nav bar on every page"

1

navbar multiple pages

<script src="//code.jquery.com/jquery.min.js"></script>
<script>
$.get("navigation.html", function(data){
    $("#nav-placeholder").replaceWith(data);
});
</script>
Posted by: Guest on November-14-2020
0

navbar multiple pages

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="./bootstrap-3.3.2-dist/css/bootstrap.min.css">
</head>
<body>
    <div class="container">
        <@wpbModule externalKey="9255b083-95a3-4752-a4fd-5bad5ad57fc0" />
        <h2> Home page </h2>
        Dummy home page...        
    </div>
</body>
</html>
Posted by: Guest on November-14-2020

Browse Popular Code Answers by Language