Create a gist now

Instantly share code, notes, and snippets.

Teambox.views.sidebar.apps_list.addApp("talker2", "New Group Chat", "#", "key");
$("#talker2_link a").click(function (e) {
if ( {
$(".content_wrap").css("bottom", "0px"); = false;
} else {
var height = 250;
$('body').prepend('<div class="chat_container" style="position: fixed; bottom: 0; left: 191px; right: 0px; height: '+height+'px; border-top: 2px solid #999; border-left: 1px solid #999; z-index: 1;"><iframe src="' + Teambox.models.user.get('username') + '" style="width: 100%;height: 100%;"></iframe></div>');
$(".content_wrap").css("bottom", (height+2)+"px"); = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment