Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(window).scroll(function() {
- if($("#shri").offset().top < $(window).scrollTop() + $(window).outerHeight()){
- $('#count-box1').CountUpCircle({
- duration:1,
- opacity_anim: true,
- step_divider: 50
- });
- $('#count-box2').CountUpCircle({
- duration: 1,
- opacity_anim: true,
- step_divider: 3000
- });
- $('#count-box3').CountUpCircle({
- duration: 1,
- opacity_anim: true,
- step_divider: 5000
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement