"simple chatbox"
Bootstrap 3.3.0 Snippet by skyrites

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div style="height:300px">
<div class="col-sm-12">
<div id="chatbox_female" class="chatbox" style="bottom: 0px; right: 20px; display: block;">
<div class="chatboxhead">
<div class="chatboxtitle">
<span class="glyphicon glyphicon-heart-empty pulse"></span>· female
</div>
<div class="chatboxoptions">
<div class="dropdown">
<a href="javascript:void(0)" id="settings" data-toggle="dropdown" area-haspopup="true" area-expanded="true"><i class="fa fa-gears"></i></a>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="settings">
<li><a href="#"><i class="fa fa-flag"></i> Report</a></li>
<li><a href="#"><i class="fa fa-ban"></i> Block</a></li>
</ul>
</div>
<a onclick="javascript:toggleChatBoxGrowth('female')" href="javascript:void(0)"><i class="fa fa-minus"></i></a>
<a onclick="javascript:closeChatBox('female')" href="javascript:void(0)"><i class="fa fa-close"></i></a>
</div>
<br clear="all">
</div>
<div class="chatboxcontent">
<div class="chatboxmessage ltr">
<span class="chatboxmessagefrom">female</span>
<div class="chatboxmessagecontent">
<time datetime="2009-11-13T20:00">today • 51 min</time>
yes we can
</div>
</div>
<div class="chatboxmessage">
<span class="chatboxmessagefrom">male44</span>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@import url(http://www.justinaguilar.com/animations/css/animations.css);
/*-----------------------------------------------------*/
.chatbox {
position: fixed;
position:expression("absolute");
width: 240px;
display:none;
z-index:99;
}
.chatboxhead {
background-color: #FD6E8A;
padding:7px;
color: #ffffff;
border-radius:4px 4px 0 0;
border-right:1px solid #ddd;
border-left:1px solid #ddd;
font-family: "Oswald",sans-serif;
}
.chatboxhead .chatboxoptions{
}
.chatboxhead .chatboxoptions a{
vertical-align:middle;
display:inline-block;
color:#fff;
margin:0 3px;
height:14px;
width:14px;
text-align:center;
}
.chatboxhead .chatboxoptions a:hover{
color:rgba(0,0,0,0.5);
}
.chatboxhead .chatboxoptions a i{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: