Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (65 sloc) 1.221 kB
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="jquery-xpubsub.min.js"></script>
<script src="test-chat.js"></script>
<style>
.chatroom
{
float: left;
width: 300px;
}
</style>
</head>
<body>
<div class="chatroom">
<h2>
Room #1</h2>
<div>
<strong>Jack:</strong>
<input type="text" />
<button>
Send</button>
</div>
<div>
<strong>John:</strong>
<input type="text" />
<button>
Send</button>
</div>
<ul>
</ul>
</div>
<div class="chatroom">
<h2>
Room #2</h2>
<div>
<strong>Jim:</strong>
<input type="text" />
<button>
Send</button>
</div>
<div>
<strong>Jane:</strong>
<input type="text" />
<button>
Send</button>
</div>
<ul>
</ul>
</div>
<div class="chatroom" id="opRoom">
<h2>
OP monitor channel
</h2>
<div>
<strong>OP:</strong>
<input type="text" />
<button>
Broadcast</button>
</div>
<ul>
</ul>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.