I have a php document and am using include to include my drop down navigation. The navigation is an external html with external js and css elements.
Code is:
<div id="nagivation">
<?php include ("navigation.html");?>
</div>
<!--end #navigation!-->
Unfortunately my drop down works great in it's html page, but once brought into my main page, none of the hovers work.
In my navigation.html, I have included:
<script type="text/javascript" src="js/ecmNavigation.js"></script>
<link href="css/ecmNavigation.css" rel="stylesheet" type="text/css" />
<link href="css/ECM_HelpFile.css" rel="stylesheet" type="text/css" />
in my template.php, I have included:
<link href="css/ECM_HelpFile.css" rel="stylesheet" type="text/css" />
<link href="css/ecmNavigation.css" rel="stylesheet" type="text/css" />
Any suggestions? I need to keep the navigation in a global document, but have not been able to use iframe or obkect in order to embed as the whole menu will not display as it is confined to the size of iframe and object. (the menu is huge)
readfile().include()andrequire()are only used when the file contains PHP. – Lèse majesté Sep 3 '10 at 13:08