Skip to content

Commit

Permalink
Updated basic example to HTML5.
Browse files Browse the repository at this point in the history
  • Loading branch information
metajack committed Nov 30, 2010
1 parent 94e7b63 commit 04d7b89
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions examples/basic.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Strophe.js Basic Example</title>
<script type='text/javascript'
src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js'></script>
<script type='text/javascript'
src='../strophe.js'></script>
<script type='text/javascript'
src='basic.js'></script>
</head>
<body>
<div id='login' style='text-align: center'>
<form name='cred'>
<label for='jid'>JID:</label>
<input type='text' id='jid' />
<label for='pass'>Password:</label>
<input type='password' id='pass' />
<input type='button' id='connect' value='connect' />
</form>
</div>
<hr />
<div id='log'></div>
</body>
<!DOCTYPE html>
<html>
<head>
<title>Strophe.js Basic Example</title>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js'></script>
<script src='../strophe.js'></script>
<script src='basic.js'></script>
</head>
<body>
<div id='login' style='text-align: center'>
<form name='cred'>
<label for='jid'>JID:</label>
<input type='text' id='jid'>
<label for='pass'>Password:</label>
<input type='password' id='pass'>
<input type='button' id='connect' value='connect'>
</form>
</div>
<hr>
<div id='log'></div>
</body>
</html>

0 comments on commit 04d7b89

Please sign in to comment.