Skip to content

Instantly share code, notes, and snippets.

@lajlev
Created February 13, 2014 12:17
Show Gist options
  • Save lajlev/8974074 to your computer and use it in GitHub Desktop.
Save lajlev/8974074 to your computer and use it in GitHub Desktop.
CfDP chat widget tweaks
Remove
<div class="status-header">Chat</div>
<div class="status-tab chat-open">Open</div>
Move
<a id="join-pair-chat" class="btn btn-success pairchat hide" href="#" style="display: inline;">Enter</a>
Change this selectors style to:
.status-wrapper .col-1 {
font-size: 12px;
height: 256px;
width: 40px;
background: url(http://www.cyberhus.dk/sites/default/files/chatgrafik/red.png);
}
Change following in cfdpchat.js
/**
* RIGHT SIDE TAB ANIMATION
*/
var exp_w = -160;
var exp_h = 160;
var shr_w = -265;
var shr_h = 160;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment