-
Notifications
You must be signed in to change notification settings - Fork 0
/
chat.html
31 lines (29 loc) · 875 Bytes
/
chat.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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width">
<script type="text/javascript" src="./lib/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="./lib/jquery-url.js"></script>
<script>
$(document).ready(function() {
$('#messages').attr("src", "//" + location.host + "/index.html?" + $.url("?"));
$('#users').attr("src", "//" + location.host + "/users.html?" + $.url("?"));
});
</script>
<style>
.chat { width: 100%; height: 500px }
#messages { width: 100%; height: 100% }
#users { width: 100%; height: 100% }
</style>
</head>
<body>
<table class="chat">
<tr>
<td><iframe id="messages"></iframe></td>
<td><iframe id="users"></iframe></td>
</tr>
</table>
<div></div>
</body>
</html>