-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (22 loc) · 795 Bytes
/
index.html
File metadata and controls
25 lines (22 loc) · 795 Bytes
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
<!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" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>DiscoNode</title>
<style type="text/css" title="currentStyle" media="screen">
@import "css/style.css";
</style>
<script type="text/javascript" src="http://201.215.208.47:8080/socket.io/socket.io.js"></script>
<script>
var socket = io.connect('http://201.215.208.47:8080');
socket.on('color', function (data) {
if (data.color) {
//console.log("Recibiendo color ["+data.color+"]");
document.bgColor = data.color;
}
});
</script>
</head>
<body >
</body>
</html>