SHARE
TWEET

Untitled

a guest Dec 10th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2.     <html>
  3.         <head>
  4.             <meta charset="utf-8">
  5.             <title>WebSockets - Simple chat</title>
  6.    
  7.             <style>
  8.             * { font-family:tahoma; font-size:12px; padding:0px; margin:0px; }
  9.             p { line-height:18px; }
  10.             div { width:500px; margin-left:auto; margin-right:auto;}
  11.             #content { padding:5px; background:#ddd; border-radius:5px; overflow-y: scroll;
  12.                        border:1px solid #CCC; margin-top:10px; height: 160px; }
  13.             #input { border-radius:2px; border:1px solid #ccc;
  14.                      margin-top:10px; padding:5px; width:400px;  }
  15.             #status { width:88px; display:block; float:left; margin-top:15px; }
  16.             </style>
  17.         </head>
  18.         <body>
  19.             <div id="content"></div>
  20.             <div>
  21.                 <span id="status">Connecting...</span>
  22.                 <input type="text" id="input" disabled="disabled" />
  23.             </div>
  24.    
  25.             <script src="jquery.min.js"></script>
  26.             <script src="frontend.js"></script>
  27.         </body>
  28.     </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top