corrade-http-templates – Blame information for rev 2

Subversion Repositories:
Rev:
Rev Author Line No. Line
2 eva 1 <!doctype html>
2  
3 <html lang="en">
4 <head>
5 <meta charset="utf-8">
6  
7 <title>Display Avatars moving in Real-Time on the Map</title>
8  
9 <meta name="description" content="Display Avatars moving in Real-Time on the Map">
10 <meta name="author" content="Wizardry and Steamworks">
11  
12 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
13 <script type="text/javascript">
14 $(document).ready(function () {
15 $.ajax({
16 type: 'post',
17 url: "plotMapAvatars.php?t=" + Math.random(),
18 data: {
19 uuid: $("#uuid").val()
20 }
21 }).done(function(data) {
22 $('#texture').attr('src', "data:image/png;base64," + data);
23 });
24 setInterval(function () {
25 $.ajax({
26 type: 'post',
27 url: "plotMapAvatars.php?t=" + Math.random(),
28 data: {
29 uuid: $("#uuid").val()
30 }
31 }).done(function(data) {
32 $('#texture').attr('src', "data:image/png;base64," + data);
33 });
34 }, 1000);
35 });
36 </script>
37 </head>
38  
39 <body>
40 <div id="container" align="center">
41 <img src="" align="middle" id="texture">
42 </div>
43 </body>
44 </html>