diff options
author | lassulus <lassulus@googlemail.com> | 2013-11-06 20:24:26 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-11-06 20:24:26 +0100 |
commit | aec1b767fd0223029332b14e5834c555efc345ff (patch) | |
tree | fa5526fb6730a6d15b1fb5d7364e1bf202004bdb /webchat/hello_web.js | |
parent | af3a5da71316c355de04e64a5a34d4fc1856220e (diff) |
webchat: better layout
Diffstat (limited to 'webchat/hello_web.js')
-rw-r--r-- | webchat/hello_web.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/webchat/hello_web.js b/webchat/hello_web.js index 45f6fc56..dd2f26e3 100644 --- a/webchat/hello_web.js +++ b/webchat/hello_web.js @@ -93,11 +93,10 @@ var app = connect() res.write('<script src="sockjs-0.3.min.js"></script>'); res.write('<script src="jquery-2.0.3.min.js"></script>'); res.write('<script src="client.js"></script>'); - res.write('<div id=bg>'); + res.write('<div id=bg><div id=chatter>'); res.write('hello, this is #krebs:<br>'); - res.write('<table id="chatbox"></table>'); - res.end('<input type="text" id="input"><br>'); - res.write('</div>'); + res.write('<table id="chatbox"><tr id="foot"><td></td><td></td><td><input type="text" id="input"></td></tr></table>'); + res.end('</div></div>'); }) var server = http.createServer(options, app); |