javascript - Google Audit Question -


the following external css files included after external javascript file in document head. ensure css files downloaded in parallel, include external css before external javascript. 1 inline script block found in head between external css file , resource. allow parallel downloading, move inline script before external css file, or after next resource.

my html is:

<head>      <link rel="stylesheet" href="gstyle.css" />             <script type="text/javascript" src="gmain.js"></script>     <script type="text/javascript" language="javascript">         // chart object(s)         var mychart;          // function hold chart creation         function initcharts() {              mychart = new ganttchart("chart1");              mychart.gaddbar("dynamic!", "22/3/2010", "3/4/2010");              mychart.gloaddata("going shop*4/3/2010*19/3/2010*watching tv*9/3/2010*23/3/2010*watching tv*1/3/2010*23/3/2010*watching tv*18/3/2010*28/3/2010*end input*1/3/2010*9/3/2010");              mychart.gdraw();              mychart.gchangebarcolour(1, "#dd2200");             mychart.gchangebarcolour(2, "#9900ee");             mychart.gchangebarcolour(3, "#00dd00");             mychart.gchangebarcolour(4, "#ffbb00");             mychart.gchangebarcolour(5, "#00aa99");          }      </script>  </head>  <body onload="initcharts()">         <div id="chart1" class="gcontainer">            </div>      <div id="db"></div>  </body> 

is getting confused between body inline script?

inspect page elements. chrome extensions dynamically adding scripts page in head.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -