Mobile app version of vmapp.org
Login or Join
Connie744

: I believe that you will need to rename your navigation file to navigation.php and then use <div id="nagivation"> <?php include("navigation.php");?> </div> to get what

@Connie744

I believe that you will need to rename your navigation file to navigation.php and then use

<div id="nagivation">
<?php include("navigation.php");?>
</div>


to get what you are looking for. Most scripting languages will not include raw .html files. Also make sure there is not space between 'include' and '()' otherwise it will not execute. S a simple rename with no changes to what is inside should fix this.

One last thing you should look at is including the .js file

<script type="text/javascript" src="js/ecmNavigation.js"></script>


after your css files instead of before. This should improve the download speed for your users.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme