I'm looking to implement a server side header.shtml with the ability to recognize the active page (likely by adding a css class to it)
<header class="topbar container">
<a href="http://www.example.com/" rel="home">
<div class="logo grid">
<h1 class="ir">Home</h1>
</div>
</a>
<nav class="navbar" role="navigation">
<ul>
<li class="active"><a href="about.html">About</a>
</li>
<li><a href="projects.html">Projects</a>
</li>
<li><a href="blog.html">Blog</a>
</li>
<li><a href="contact.html">Contact</a>
</li>
</ul>
</nav></header>
I'm trying to cut down on code by using the .shtml and then
<!--#include virtual="/header.shtml" -->
I'm guessing though, that this can only be accomplished through Javascript or JQuery, but I was wondering if it could be done css only?