Warning: Can't use blame annotator:
svn blame failed on branches/realtime_VDS/cptms/showtime.html: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/branches/realtime_VDS/cptms/showtime.html @ 584

Revision 584, 646 bytes checked in by jdalbey, 6 years ago (diff)

import files to branch realtime VDS

RevLine 
1<html>
2<body>
3<div id="timediv">0:00</div>
4<div id="main"></div>
5<div id="label">One</div>
6    <script  src="js/common.js"></script>
7<script>
8var timeDiv = document.getElementById("timediv");
9var labelDiv = document.getElementById("label");
10function gettime()
11{
12        loadJSON("sim_clock.json", function(response)
13        {
14           simclockjson = JSON.parse(response);
15           clockstring = simclockjson.clock;
16           timeDiv.innerHTML = clockstring;
17           digit = clockstring.charAt(clockstring.length-1)
18           labelDiv.innerHTML = digit
19        });
20}
21var myinterval = setInterval(gettime,1000);
22</script>
23</body>
24
25</html>
Note: See TracBrowser for help on using the repository browser.