Jquery-circle-progress

jquery

#1

Hi,
I am using ‘jquery-circle-progress’ the function is working good. (circle-progress) scroll window in particular position function is working good. Actual my problem is 'circle-progress ’ showing more times please help me.

/**
*Exampe from https://kottenator.github.io/jquery-circle-progress/
*/

$(document).ready(function(){

$(window).scroll(function(){console.log($(window).scrollTop());
if($(window).scrollTop() > 800 && $(window).scrollTop() < 850)

{var progressBarOptions = {

startAngle: -1.55,
size: 100,
value: 0.25,
fill: {
color: ‘#4ebef7
}
}

$(’.circle’).circleProgress(progressBarOptions).on(‘circle-animation-progress’, function(event, progress, stepValue) {
$(this).find(‘strong’).text(String(stepValue.toFixed(2)).substr(1));
});

$(’#circle-b’).circleProgress({
value : 0.50,
fill: {
color: ‘#4ebef7
}
});

$(’#circle-c’).circleProgress({
value : 0.70,
fill: {
color: ‘#4ebef7
}

});
}
});
});


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.