I tried to use the analog clock from Highcharts. This is not working at PHP on the Raspberry.
Does somebody knows a nice analog clock to present in PHP/ JS on a Rasberry?
Thanks in advance.
DougieLawson wrote:Please post a link to the PHP code you've downloaded.
where is the php?Canedje wrote:DougieLawson wrote:Please post a link to the PHP code you've downloaded.
I tried to make this code working:
http://jsfiddle.net/gh/get/jquery/1.9.1 ... uge-clock/
I do use other codes from this side which are working
Code: Select all
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Analog clock</title>
<script src='http://code.jquery.com/jquery-1.9.1.js'></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="hc.clock.js"></script>
<head>
<body>
<div id="container" style="width: 300px; height: 300px; margin: 0 auto"></div>
</body>
</html>betting 5 euros on thisHeater wrote:You will also need a script tga to pull the jquery into your page.
You lose. Pay up.Massi wrote:betting 5 euros on thisHeater wrote:You will also need a script tga to pull the jquery into your page.
you have to wait for the op to say "oh, i forgot this"DougieLawson wrote:You lose. Pay up.Massi wrote:betting 5 euros on thisHeater wrote:You will also need a script tga to pull the jquery into your page.
Thanks for the help.DougieLawson wrote:Create a file called /var/www/hc.clock.js (with the Javascript analog clock code from that website).
Create a HTML file /var/www/hc.clock.htmlPoint your web browser at http://pi.local/hc.clock.htmlCode: Select all
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Analog clock</title> <script src='http://code.jquery.com/jquery-1.9.1.js'></script> <script src="http://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/highcharts-more.js"></script> <script src="hc.clock.js"></script> <head> <body> <div id="container" style="width: 300px; height: 300px; margin: 0 auto"></div> </body> </html>