Javascript only loads on home page

Permalink
Hello! I am attempting to use Highcharts and have a problem. I modified header_required.php to include highcharts.js and the theme.js file. I use the "Additional Header Item" to add a tag for an additional script to define the chart, and create an HTML block for the <div> that holds the chart.

On the home page the chart renders fine. If I copy and paste the code to any other page it silently fails. Firebug does not even list the script as available, even though it is in the page source... No other browser will display the chart either.

What is different between the home page and a page that I navigate to from the home page? Why would the code work in one place but not the other?

 
n5zap replied on at Permalink Reply
Another piece to the puzzle: Firebug gives me this message when I navigate to a page with a chart:
syntax error:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHT...org/TR/xhtml1/DTD/xhtml1-strict.dtd">

However, as soon as I enter Edit mode the chart displays just fine. It also displays when I save the page. As soon as I navigate to another page and back I get the syntax error.
chengsk replied on at Permalink Reply
Did you ever figure out your issue with highchart and concrete5? I am trying to integrate the two, and I am running into the same issues.

Thanks!