annotate openwebchat.html @ 42:f560e6f01c22

misc changes, including now scrolling to the bottom when new messages arrive.
author Atul Varma <varmaa@toolness.com>
date Mon, 27 Apr 2009 23:41:13 -0700
parents 882b75e96c17
children 728f162add5d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
4 <head>
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
6 <link rel="stylesheet" type="text/css" media="all"
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
7 href="openwebchat.css" />
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
8 <title>Open Web Chat</title>
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
9 </head>
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
10 <body>
42
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
11 <div id="content">
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
12 <h1>This is a conversation.</h1>
34
10fcf63961d8 More misc. changes.
Atul Varma <varmaa@toolness.com>
parents: 33
diff changeset
13 <div id="incoming-messages"></div>
33
8146a59c8045 Added basic 'chat' functionality.
Atul Varma <varmaa@toolness.com>
parents: 26
diff changeset
14 <textarea id="outgoing-message"></textarea>
39
882b75e96c17 Added name functionality.
Atul Varma <varmaa@toolness.com>
parents: 34
diff changeset
15 <p>Your name is <input type="text" id="name"/>.</p>
42
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
16 </div>
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
17 <div id="templates">
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
18 <div class="message">
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
19 <div class="author"></div>
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
20 <div class="content"></div>
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
21 </div>
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
22 </div>
26
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
23 <script src="jquery.js"></script>
33
8146a59c8045 Added basic 'chat' functionality.
Atul Varma <varmaa@toolness.com>
parents: 26
diff changeset
24 <script src="json2.js"></script>
26
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
25 <script src="openwebchat.js"></script>
42
f560e6f01c22 misc changes, including now scrolling to the bottom when new messages arrive.
Atul Varma <varmaa@toolness.com>
parents: 39
diff changeset
26 </body>
26
4a4b66f5229b Added open web chat module.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
27 </html>