Hi there,
In my header I have various js script includes like the following:
<script type="text/javascript" src="<? echo $url; ?>/js/tms-0.3.js"></script>
<script type="text/javascript" src="<? echo $url; ?>/js/tms_presets.js"></script>
<script type="text/javascript" src="<? echo $url; ?>/js/script.js"></script>
<script type="text/javascript" src="<? echo $url; ?>/js/atooltip.jquery.js"></script>
The above are contained within a file called script.php and I include that file into the header using the following:
<? require_once($_SERVER['DOCUMENT_ROOT']. "/include/script.php");?>
There is another js file that I want to include but only to include it on the contact.php page and nothing else as it conflicts with code on the other pages.
Is there a way to achieve this?