As i understand i can include a javascript in the head of the template $hjs like
Code: Select all
$hjs = '<script type="text/javascript" src="'.$pth['folder']['plugins'].'xxxx/xxxxx.js"></script>'."\n";
Code: Select all
$bjs = '<script type="text/javascript" src="'.$pth['folder']['plugins'].'xxxxx/xxxxx.js"></script>'."\n";
If i have understand it correct, $bjs = '<script type="text/javascript" src="'.$pth['folder']['plugins'].'xxxx/xxxxx.js"></script>'."\n"; will give me something like this
Code: Select all
<body>
some html
<script type="text/javascript">
some javascript code
</script>
</body
</html>
Pahaps someone like to take a look at me code!
Have a nice day
Best regards
Jens
aka maeg