Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

navigation bar on more than one page

<!-- add in head: --> <script src="https://code.jquery.com/jquery-1.10.2.js"></script>

<!--Navigation bar-->
<div id="nav-placeholder">

</div>

<script>
$(function(){
  $("#nav-placeholder").load("nav.html");
});
</script>
<!--end of Navigation bar-->
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #navigation #bar #page
ADD COMMENT
Topic
Name
5+9 =