By jonbey on
This evening I upgraded from version 5 to 6, and now I cannot get javascript to work on a page. I have checked that it is still set to full HTML, but no luck.
This is the code:
<script src="http://dir.essexportal.co.uk/search/categories.js"></script>
<script language="JavaScript" TYPE="text/javascript">
<!--
var random = parseInt(Math.random()*10000)
get_categories(random);
// -->
</script>
Do I have to manually switch js on somewhere?
Comments
A URL to the page in question
A URL to the page in question would make it easier for someone to possibly help.
From what you have I would suspect the path http://dir.essexportal.co.uk/search/categories.js is wrong.
Well, not sure what that link
Well, not sure what that link is, bit I got it working. I changed from FULL HTML to PHP. There is no php on the page, but it now parses the js and shows the menus OK. So why is that? Glad it is working, just more confused now.
The site is on www.essexportal.co.uk, (dir.essexportal.co.uk is on another CMS).