<script>
$(document).ready(function(){
$(".tabs-list li a").click(function(e){
e.preventDefault();
});
$(".tabs-list li").click(function(){
var tabid = $(this).find("a").attr("href");
$(".tabs-list li,.tabs div.tab").removeClass("active"); // removing active class from tab
$(".tab").hide(); // hiding open tab
$(tabid).show(); // show tab
$(this).addClass("active"); // adding active class to clicked tab
});
});
</script>
Usually, we use an assets folder within the root folder, i.e. next to the index.php. However, the name and location is up to you, only I wouldn’t put the assets into the content folder. All folders inside content become pages…