corrade-http-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 6  →  ?path2? @ 7
/plotMapAvatars/plotMapAvatars.html
@@ -12,16 +12,7 @@
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$.ajax({
type: 'post',
url: "plotMapAvatars.php?t=" + Math.random(),
data: {
uuid: $("#uuid").val()
}
}).done(function(data) {
$('#texture').attr('src', "data:image/png;base64," + data);
});
setInterval(function () {
function requestAvatarPositions() {
$.ajax({
type: 'post',
url: "plotMapAvatars.php?t=" + Math.random(),
@@ -30,8 +21,10 @@
}
}).done(function(data) {
$('#texture').attr('src', "data:image/png;base64," + data);
setTimeout(requestAvatarPositions, 1000);
});
}, 1000);
}
setTimeout(requestAvatarPositions, 1000);
});
</script>
</head>