Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (12 sloc) 0.594 kb
<h1><%= title %></h1>
<p>Welcome to <%= title %></p>
<p>This is an example of an embedded chat window added to any site. <a href='#' id='chat'>Chat with us</a></p>
<div id="floater" style="position: absolute; right: 0; top:0; width: 300px; height: 100%;"></div>
$(document).ready(function() {
$('#chat').click(function(e) {
$('#floater').css("border-left", "1px solid #000").append('<iframe style="width: 300px; border: 0;" sandbox="allow-same-origin allow-forms allow-scripts" src="http://localhost:8080/chat"></iframe>');
Jump to Line
Something went wrong with that request. Please try again.