<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">
<div class="col-sm-6 col-md-2" style="position:relative;">
<div style="opacity: 1;" class="circleStats">
<div class="circleStatsItem red">
<span class="percent">%</span>
<div style="width:120px;display:inline;"">
<canvas width="120" height="120"></canvas>
<div style="width:120px;display:inline;position:relative;bottom: 240px;left: 9px;">
<canvas width="120" height="120"></canvas>
<input readonly="readonly" style="width: 60px; position: absolute; margin-top: 24px; margin-left: -90px; font-size: 30px; border: none; background-image: none; font-weight: bold; text-align: center; color: rgb(250, 88, 51); padding: 2px 0px 0px; -webkit-appearance: none; background-position: initial initial; background-repeat: initial initial;" value="70" class="orangeCircle dial" type="text">
</div>
</div>
</div>
<div class="box-col-sm-title" style="padding-left: 20px;">
Likes
</div>
</div>
</div>
<div class="col-sm-6 col-md-2" style="position:relative;">
<div style="opacity: 1;" class="circleStats">
<div class="circleStatsItem blue">
<span class="percent">%</span>
<div style="width:120px;display:inline;"">
<canvas width="120" height="120"></canvas>
<div style="width:120px;display:inline;position:relative;bottom: 240px;left: 9px;">
<canvas width="120" height="120"></canvas>
<input readonly="readonly" style="width: 60px; position: absolute; margin-top: 24px; margin-left: -90px; font-size: 30px; border: none; background-image: none; font-weight: bold; text-align: center; color: rgb(85, 193, 231); padding: 2px 0px 0px; -webkit-appearance: none; background-position: initial initial; background-repeat: initial initial;" value="58" class="blueCircle" data-linecap="round" type="text">
</div>
</div>
</div>
<div class="box-col-sm-title" style="padding-left: 20px;">
Popularity
</div>
</div>
</div>
<div class="col-sm-6 col-md-2" style="position:relative;">
<div style="opacity: 1;" class="circleStats">
<div class="circleStatsItem green">
<span class="percent">%</span>
<div style="width:120px;display:inline;""><canvas width="120" height="120"></canvas><div style="width:120px;display:inline;position:relative;bottom: 240px;left: 9px;"><canvas width="120" height="120"></canvas><input readonly="readonly" style="width: 60px; position: absolute; margin-top: 24px; margin-left: -90px; font-size: 30px; border: none; background-image: none; font-weight: bold; text-align: center; color: rgb(161, 211, 110); padding: 2px 0px 0px; -webkit-appearance: none; background-position: initial initial; background-repeat: initial initial;" value="72" class="greenCircle" type="text"></div></div>
</div>
<div class="box-col-sm-title" style="padding-left: 20px;">
Sales
</div>
</div>
</div>
<div class="col-sm-6 col-md-2" style="position:relative;">
<div style="opacity: 1;" class="circleStats">
<div class="circleStatsItem lightorange">
<span class="percent">%</span>
<div style="width:120px;display:inline;""><canvas width="120" height="120"></canvas><div style="width:120px;display:inline;position:relative;bottom: 240px;left: 9px;"><canvas width="120" height="120"></canvas><input readonly="readonly" style="width: 60px; position: absolute; margin-top: 24px; margin-left: -90px; font-size: 30px; border: none; background-image: none; font-weight: bold; text-align: center; color: rgb(250, 111, 87); padding: 2px 0px 0px; -webkit-appearance: none; background-position: initial initial; background-repeat: initial initial;" value="38" class="lightOrangeCircle" type="text"></div></div>
</div>
<div class="box-col-sm-title" style="padding-left: 20px;">
Download
</div>
</div>
</div>
<div class="col-sm-6 col-md-2" style="position:relative;">
<div style="opacity: 1;" class="circleStats">
<div class="circleStatsItem pink">
<span class="percent">%</span>
<div style="width:120px;display:inline;""><canvas width="120" height="120"></canvas><div style="width:120px;display:inline;position:relative;bottom: 240px;left: 9px;"><canvas width="120" height="120"></canvas><input readonly="readonly" style="width: 60px; position: absolute; margin-top: 24px; margin-left: -90px; font-size: 30px; border: none; background-image: none; font-weight: bold; text-align: center; color: rgb(228, 43, 117); padding: 2px 0px 0px; -webkit-appearance: none; background-position: initial initial; background-repeat: initial initial;" value="58" class="pinkCircle" type="text"></div></div>
</div>
<div class="box-col-sm-title" style="padding-left: 20px;">
Purchase
</div>
</div>
</div>
<div class="col-sm-6 col-md-2" style="position:relative;">
<div style="opacity: 1;" class="circleStats">
<div class="circleStatsItem lavender">
<span class="percent">%</span>
<div style="width:120px;display:inline;""><canvas width="120" height="120"></canvas><div style="width:120px;display:inline;position:relative;bottom: 240px;left: 9px;"><canvas width="120" height="120"></canvas><input readonly="readonly" style="width: 60px; position: absolute; margin-top: 24px; margin-left: -90px; font-size: 30px; border: none; background-image: none; font-weight: bold; text-align: center; color: rgb(172, 148, 233); padding: 2px 0px 0px; -webkit-appearance: none; background-position: initial initial; background-repeat: initial initial;" value="28" class="lavenderCircle" type="text"></div></div>
</div>
<div class="box-col-sm-title" style="padding-left: 20px;">
Online Users
</div>
</div>
</div>
</section>
</section>
<section class="container">
<article class="row">
<div class="col-md-3">
<h3><a href="#">$500 Gaming PC Build</a></h3>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<a href="#" class="btn btn-default">Read More</a>
</div>
<div class="col-md-3">
<h3><a href="#">$500 Gaming PC Build</a></h3>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<a href="#" class="btn btn-default">Read More</a>
</div>
<div class="col-md-3">
<h3><a href="#">$500 Gaming PC Build</a></h3>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<a href="#" class="btn btn-default">Read More</a>
</div>
<div class="col-md-3">
<h3><a href="#">$500 Gaming PC Build</a></h3>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<a href="#" class="btn btn-default">Read More</a>
</div>
</article>
</section>
<footer class="navbar navbar-default navbar-fixed-bottom">
<nav class="container">
<p class="navbar-text pull-left">Site Built By Sundara</p>
<a href="#" class="navbar-btn btn btn-danger pull-right">Go To Top</a>
</nav>
</footer>
.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;
outline: thin dotted 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.circleStats-title {
width: 100%;
text-shadow: 0px 1px 1px #222;
}
$(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
});
$(".lightOrangeCircle").knob({
'min':0,
'max':100,
'readOnly': true,
'width': 120,
'height': 120,
'fgColor': '#fa6f57',
'dynamicDraw': true,
'thickness': 0.2,
'tickColorizeValues': true
});
$(".blueCircle").knob({
'min':0,
'max':100,
'readOnly': true,
'width': 120,
'height': 120,
'fgColor': '#55c1e7',
'dynamicDraw': true,
'thickness': 0.2,
'tickColorizeValues': true
});
$(".lavenderCircle").knob({
'min':0,
'max':100,
'readOnly': true,
'width': 120,
'height': 120,
'fgColor': '#ac94e9',
'dynamicDraw': true,
'thickness': 0.2,
'tickColorizeValues': true
});
$(".pinkCircle").knob({
'min':0,
'max':100,
'readOnly': true,
'width': 120,
'height': 120,
'fgColor': '#e42b75',
'dynamicDraw': true,
'thickness': 0.2,
'tickColorizeValues': true
});
} /*end if*/
}
/* -------Plug in Initialization ---------- */
function init_template(){
circle_state();
}
init_template();
});