Mercurial > cosocket
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 |
rev | line source |
---|---|
26 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 <head> | |
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
6 <link rel="stylesheet" type="text/css" media="all" | |
7 href="openwebchat.css" /> | |
8 <title>Open Web Chat</title> | |
9 </head> | |
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 | 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 | 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 | 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 | 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 | 27 </html> |