How to create responsive animated skill bars using jQuery – Simple SkillBar

Simple SkillBar

If you throbbing to display enthusiasts Simple SkillBar in definitely open to mannerism this plugin is intensely useful to make supple bustling gift horizontal, progression bar in percentage. This is super fresh waited plugin and compulsion the complete little configuration and all finished. You can along with use this plugin to any type off skills linked horizontal chart.

Lets begin integration, First amassing required jquery libraries in description to page dont forget to buildup jquery code library past using easy-skillbar.js

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="simple-skillbar.js"></script>

Now there is two method to display capacity bar chart By passing jquery properties and by using HTML5 data attribute.

Display a basic horizontal carrying out bar and define the percentage value using JavaScript

<div id="skillbar">NodeJS (50%)</div>
<script>
$(function() {   
$('.skillbar').simpleSkillbar({
  width: 50
});
});
</script>

Display a basic horizontal power bar and define the percentage value using HTML5 data attribute

<div id="skillbar" data-width="50">NodeJS (50%)</div>
<script>
$(function() {   
$('.skillbar').simpleSkillbar();
});
</script>

You can customize your proficiency bar by passing more data attribute properties once data-background, data-text-color

<div  class="skillbar" data-width="80" data-background="#f4bf42">PHP (80%)</div>
<div  class="skillbar" data-width="70" data-background="#f45341">MySql (70%)</div>
<div  class="skillbar" data-width="85" data-background="#eef441">JavaScript (85%)</div>
<div  class="skillbar" data-width="90" data-background="#82f441">HTML5(90%)</div>
<div  class="skillbar" data-width="80" data-background="#417cf4">CSS3 (80%)</div>
<div  class="skillbar" data-width="60" data-background="#e541f4">AngularJS (60%)</div>
<div  class="skillbar" data-width="40" data-background="#f44185">NodeJs (40%)</div>
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
<script src="simple-skillbar.js"></script>
<script>
$('.skillbar').simpleSkillbar();
</script>

 

Leave a Reply