scottjohnson.pro/assets/js/main.js
2016-07-29 10:17:42 +05:30

21 lines
379 B
JavaScript

jQuery(document).ready(function($) {
$('.level-bar-inner').css('width', '0');
$(window).on('load', function() {
$('.level-bar-inner').each(function() {
var itemWidth = $(this).data('level');
$(this).animate({
width: itemWidth
}, 800);
});
});
});