"Charts"
Bootstrap 3.1.0 Snippet by sundara

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="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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 ---------->
<header class="navbar navbar-inverse navbar-static-top">
<nav class="container">
<a href="" class="navbar-brand"> My Website </a>
<button class="navbar-toggle" data-toggle = "collapse" data-target = ".navHeaderCollapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="collapse navbar-collapse navHeaderCollapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Home</a></li>
<li><a href="#">Blog</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown"> Social Media
<b class="caret"></b>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="">Twitter</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="">Facebook</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="">Google+</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="">Instagram</a></li>
</ul>
</li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</nav>
</header>
<section class="container">
<section class="row circle-block">
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
.circleStats {
margin-bottom: 10px;
padding: 5px 0;
text-align: center;
position: relative;
opacity: 0;
background: #fff;
border-radius: 4px;
}
.circleStatsItem {
position: relative;
border-radius: 60px;
width: 120px;
height: 120px;
margin: 10px auto;
}
.circleStatsItem input {
cursor: default;
box-shadow: none;
border: none;
height: auto;
position: absolute;
top: 20px;
left: 120px;
font-size: 2em !important;
}
.circleStatsItem .percent {
font-size: 0.9em;
position: absolute;
top: 44%;
margin-left: 95px;
}
.circleStatsItem input:focus {
outline: 0;
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
$(document).ready(function() {
var divElement = $('div'); //log all div elements
var inputElement = $('input'); //log all div elements
var textareaElement = $('textarea'); //log all div elements
function circle_state() {
if (divElement.hasClass('circleStats')) {
$(".circleStats").css({opacity:1});
$(".greenCircle").knob({
'min':0,
'max':100,
'readOnly': true,
'width': 120,
'height': 120,
'fgColor': '#a1d36e',
'dynamicDraw': true,
'thickness': 0.2,
'tickColorizeValues': true
});
$(".orangeCircle").knob({
'min':0,
'max':100,
'readOnly': true,
'width': 120,
'height': 120,
'fgColor': '#FA5833',
'dynamicDraw': true,
'thickness': 0.2,
'tickColorizeValues': true
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: