2017-02-16 20:29:48 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Converse.js</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<meta name="description" content="Converse.js: A free chat client for your website" />
|
|
|
|
<meta name="author" content="JC Brand" />
|
|
|
|
<meta name="keywords" content="xmpp chat webchat converse.js" />
|
2018-04-24 14:46:09 +02:00
|
|
|
|
2017-02-16 20:29:48 +01:00
|
|
|
<link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
|
2018-04-24 14:46:09 +02:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="/css/font-awesome.min.css" />
|
2018-09-18 15:31:15 +02:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="/css/website.css" />
|
2017-02-16 20:29:48 +01:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="/css/converse.min.css" />
|
2018-04-24 14:46:09 +02:00
|
|
|
<script src="/src/website.js"></script>
|
|
|
|
<script type="text/javascript" src="/analytics.js"></script>
|
2017-02-16 20:29:48 +01:00
|
|
|
<noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
|
|
|
|
<![if gte IE 9]>
|
2018-01-27 16:20:35 +01:00
|
|
|
<script src="/dist/converse.min.js"></script>
|
2017-02-16 20:29:48 +01:00
|
|
|
<![endif]>
|
|
|
|
</head>
|
|
|
|
|
2018-09-18 15:31:15 +02:00
|
|
|
<body id="page-top" data-spy="scroll">
|
|
|
|
<section class="section-wrapper">
|
|
|
|
<nav class="navbar sticky-top navbar-expand-lg" role="navigation">
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
|
|
|
<a class="navbar-brand" href="/"><span class="converse-brand-heading"><i class="icon-conversejs"></i>Converse</span></a>
|
|
|
|
<ul class="navbar-nav mt-2 mt-lg-0">
|
|
|
|
<!-- Hidden li included to remove active class from about link when scrolled up past about section -->
|
|
|
|
<li class="hidden">
|
|
|
|
<a class="nav-link" href="#page-top"></a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item page-scroll">
|
|
|
|
<a class="nav-link" href="#about">About</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item page-scroll">
|
|
|
|
<a class="nav-link" href="#features">Features</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item page-scroll">
|
|
|
|
<a class="nav-link" href="#contact">Contact</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item page-scroll">
|
|
|
|
<a class="nav-link" href="#sponsors">Sponsor</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item page-scroll">
|
|
|
|
<a class="nav-link" href="#hosting">Hosting</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/docs/html/index.html">Documentation <i class="fa fa-external-link-alt"></i></a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2019-02-12 18:19:18 +01:00
|
|
|
<a class="nav-link" href="https://github.com/conversejs/converse.js/releases" class="button" target="_blank" rel="noopener">Download <i class="fa fa-external-link-alt"></i></a>
|
2018-09-18 15:31:15 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2017-02-16 20:29:48 +01:00
|
|
|
|
|
|
|
<section class="intro" class="container">
|
|
|
|
<div class="row">
|
2018-09-18 15:31:15 +02:00
|
|
|
<div class="col-md-12 col-md-offset-2">
|
|
|
|
<h1 class="brand-heading"><i class="icon-conversejs"></i> Converse</h1>
|
2017-02-16 20:29:48 +01:00
|
|
|
<p class="intro-text">Demos:</p>
|
|
|
|
<p class="intro-text">
|
2017-02-17 20:59:35 +01:00
|
|
|
<ul style="list-style: none; font-size: 22px;">
|
2018-09-18 15:31:15 +02:00
|
|
|
<li><a href="/fullscreen.html">As a fullscreen application</a></li>
|
2017-02-16 20:29:48 +01:00
|
|
|
<li><a href="/demo/anonymous.html">Anonymous login</a></li>
|
2017-02-17 20:59:35 +01:00
|
|
|
<li><a href="/demo/embedded.html">Single MUC chatroom embedded into the page</a></li>
|
|
|
|
<li><a href="/demo/without_bundled_dependencies.html">Dependencies loaded externally as <script> tags</a></li>
|
2017-02-16 20:29:48 +01:00
|
|
|
</ul>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2018-09-18 15:31:15 +02:00
|
|
|
</section>
|
2017-02-16 20:29:48 +01:00
|
|
|
</body>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
require(['converse'], function (converse) {
|
|
|
|
(function () {
|
|
|
|
/* XXX: This function initializes jquery.easing for the https://conversejs.org
|
|
|
|
* website. This code is only useful in the context of the converse.js
|
|
|
|
* website and converse.js itself is NOT dependent on it.
|
|
|
|
*/
|
|
|
|
var $ = converse.env.jQuery;
|
|
|
|
$.extend( $.easing, {
|
|
|
|
easeInOutExpo: function (x, t, b, c, d) {
|
|
|
|
if (t==0) return b;
|
|
|
|
if (t==d) return b+c;
|
|
|
|
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
|
|
|
|
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
$(window).scroll(function() {
|
|
|
|
if ($(".navbar").offset().top > 50) {
|
|
|
|
$(".navbar-fixed-top").addClass("top-nav-collapse");
|
|
|
|
} else {
|
|
|
|
$(".navbar-fixed-top").removeClass("top-nav-collapse");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
//jQuery for page scrolling feature - requires jQuery Easing plugin
|
|
|
|
$('.page-scroll a').bind('click', function(event) {
|
|
|
|
var $anchor = $(this);
|
|
|
|
$('html, body').stop().animate({
|
|
|
|
scrollTop: $($anchor.attr('href')).offset().top
|
|
|
|
}, 700, 'easeInOutExpo');
|
|
|
|
event.preventDefault();
|
|
|
|
});
|
|
|
|
})();
|
|
|
|
converse.initialize({
|
|
|
|
// Please use this connection manager only for testing purposes
|
|
|
|
bosh_service_url: 'https://conversejs.org/http-bind/',
|
|
|
|
keepalive: true,
|
|
|
|
message_carbons: true,
|
|
|
|
play_sounds: true,
|
|
|
|
roster_groups: true,
|
|
|
|
show_controlbox_by_default: true,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</html>
|