1 <?xml version="1.0" encoding="utf-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
6 <title>XMPP Chat</title>
7 <link rel="stylesheet" type="text/css" href="style.css" />
8 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
9 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
10 <script type="text/javascript" src="js/strophejs/src/b64.js"></script>
11 <script type="text/javascript" src="js/strophejs/src/md5.js"></script>
12 <script type="text/javascript" src="js/strophejs/src/sha1.js"></script>
13 <script type="text/javascript" src="js/strophejs/src/strophe.js"></script>
14 <script type="text/javascript" src="js/main.js"></script>
19 <form id="loginForm" onsubmit="return doLogin(this);" action="#">
20 <label for="nickname">Nickname:</label>
21 <input type="text" name="nickname" id="nickname" />
22 <input type="submit" value="Join" />
29 <ul id="roster_list" />
33 <form id="textForm" onsubmit="return sendMessage(this);" action="#">
34 <input type="text" name="text" id ="text" />
35 <input type="submit" id="text_submit" value="Send"/>