corrade-http-templates – Blame information for rev 7

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 () {
7 zed 15 function requestAvatarPositions() {
2 eva 16 $.ajax({
17 type: 'post',
18 url: "plotMapAvatars.php?t=" + Math.random(),
19 data: {
20 uuid: $("#uuid").val()
21 }
22 }).done(function(data) {
23 $('#texture').attr('src', "data:image/png;base64," + data);
7 zed 24 setTimeout(requestAvatarPositions, 1000);
2 eva 25 });
7 zed 26 }
27 setTimeout(requestAvatarPositions, 1000);
2 eva 28 });
29 </script>
30 </head>
31  
32 <body>
33 <div id="container" align="center">
34 <img src="" align="middle" id="texture">
35 </div>
36 </body>
37 </html>