-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmumble.html
32 lines (29 loc) · 1.37 KB
/
mumble.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mumble Server Status</title>
<link rel="stylesheet" type="text/css" href="mumble.css" />
</head>
<body>
<!-- Load jQuery - if you are already loading jQuery for another reason you can omit this. -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<!-- Load MumbleViewer script -->
<script type="text/javascript" src="mumble.js"></script>
<!-- Start Mumble Viewer -->
<script type="text/javascript">
$(document).ready(function() {
load_mum(); //This will to the loading the first time
window.setInterval("load_mum();", 30000); //This will load the viewer every 30 seconds
});
var mr = new mumbleReader('https://tx.mumbledog.com/cvp/1?callback=?', 'mum0'); //init the object
mr.setlength(16); // Set the number of characters to truncat at (example of 16 for sidebars)
mr.setimgpath('http://fwaggle.github.com/MumbleReader.js/'); // Set location of images for icons
function load_mum() {
mr.start(); //This will reload the viewer
}
</script>
<!-- This layer is where the resulting tree object is returned.
See callback argument in JS, above. -->
<div id="mum0" class="mumbleReader"></div>
</body>
</html>