--- a/www-thermferm/index.php Wed Jul 16 13:42:14 2014 +0200 +++ b/www-thermferm/index.php Thu Jul 17 21:19:22 2014 +0200 @@ -31,6 +31,7 @@ $outstr .= ' <meta http-equiv="content-type" content="text/html; charset=utf-8" />'.PHP_EOL; $outstr .= ' <title>ThermFerm monitor</title>'.PHP_EOL; $outstr .= ' <link type="text/css" href="css/style.css" rel="stylesheet" media="all" />'.PHP_EOL; +$outstr .= ' <script type="text/javascript" src="js/Drinks.js"></script>'.PHP_EOL; $outstr .= ' </head>'.PHP_EOL; $outstr .= ' <body class="page">'.PHP_EOL; $outstr .= ' <div id="container" class="container_16">'.PHP_EOL; @@ -45,6 +46,8 @@ $outstr .= liveview(); $outstr .= ' </div> <!-- content -->'.PHP_EOL; $outstr .= ' </div> <!-- container -->'.PHP_EOL; +$outstr .= ' <!-- Load scripts after the body, so they don\'t block rendering of the page -->'.PHP_EOL; +//$outstr .= ' <script type="text/javascript" src="js/Drinks.js"></script>'.PHP_EOL; $outstr .= ' </body>'.PHP_EOL; $outstr .= '</html>'.PHP_EOL;