Mercurial > cosocket
view openwebchat.html @ 85:7e3b3eb57ec2
Added the ability for a server to have a timeout function that gets called once per second.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Fri, 01 May 2009 14:18:06 -0700 |
parents | a095f39117d9 |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" media="all" href="/media/css/openwebchat.css" /> <title>Open Web Chat</title> </head> <body> <div id="content"> <h1>This is a conversation.</h1> <div id="incoming-messages"></div> <div class="error"> It appears that your connection to the server has been severed. We'll try reconnecting in <span class="seconds-left"></span> second<span class="plural">s</span>. </div> <div class="overlay"> <div>This was sent <span class="sent"></span>.</div> </div> <textarea id="outgoing-message"></textarea> <p>Your name is <input type="text" id="name"/>.</p> <div id="bottom"></div> </div> <div id="data"> <div class="default-name">A Mysterious Stranger</div> </div> <script src="/media/js/jquery.js"></script> <script src="/media/js/jquery.timeago.js"></script> <script src="/media/js/json2.js"></script> <script src="/media/js/openwebchat.js"></script> </body> </html>