Skip to content
Advertisement

Tag: nav

Navigation as a separate page in PHP

I am using my Navigation as a separate page which is Navigation.php and I am adding this page by <?php include ‘header.php’; ?> in everypage. But when I am going on a page, for example: going to About page, that About button in navigation bar have a class class=’active’ and that class adding by javascript. The problem is coming when

Advertisement