scottjohnson.pro/assets/js/main.js
2023-08-05 23:04:26 +01:00

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);
});
});
});