source: sandbox/jabberit_messenger/trophy/strophejs/examples/prebind.html @ 2271

Revision 2271, 1.1 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #986 - Reimplementar interface mais leve para o IM, sem a necessidades de plugins adicionais.

  • Property svn:executable set to *
Line 
1<!DOCTYPE html>
2<html>
3  <!--
4     http-pre-bind example
5
6     This example works with mod_http_pre_bind found here:
7     http://github.com/thepug/Mod-Http-Pre-Bind
8     
9     It expects both /xmpp-httpbind to be proxied and /http-pre-bind
10     
11     If you want to test this out without setting it up, you can use Collecta's
12     at http://www.collecta.com/xmpp-httpbind and
13     http://www.collecta.com/http-pre-bind
14     Use a JID of 'guest.collecta.com' to test.
15    -->
16
17  <head>
18    <title>Strophe.js Pre-Bind Example</title>
19    <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'></script>
20    <script src='../strophe.js'></script>
21    <script src='prebind.js'></script>
22  </head>
23
24  <body>
25    <div id='login' style='text-align: center'>
26      <form name='cred'>
27        <label for='jid'>JID:</label>
28        <input type='text' id='jid'>
29        <label for='pass'>Password:</label>
30        <input type='password' id='pass'>
31        <input type='button' id='connect' value='connect'>
32      </form>
33    </div>
34
35    <hr>
36
37    <div id='log'></div>
38  </body>
39</html>
Note: See TracBrowser for help on using the repository browser.