Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #381509
    Anonymous

    Hello,

    I have a website, where I use animated numbers. They are all working fine apart from those which feature decimal numbers. However, the problem only seems to appear when there is a zero in front of the comma.

    I have created a test page for you to check what is wrong. The first number is without, the second with a zero in front of the comma.
    http://cardioworld.de/en/test-numbers/

    The page where I use these numbers is: http://cardioworld.de/en/#quickfacts
    Sometimes, on first load all the numbers after the decimal number, that does not work, do not show up either. When I refresh, they work again. That would be another thing I would need fixed.

    Thank you for your help!

    #382102

    Hey alwo!

    I think it’s from the “blood sample” number. Try removing that “u” looking character to see if that fixes it.

    Best regards,
    Elliott

    #382118
    Anonymous

    No, unfortunately that does not change anything.

    #382645

    Hi!

    Go ahead and deactivate all plugins and send us a WordPress login and we’ll take a closer look.

    Regards,
    Elliott

    #384436
    Anonymous
    This reply has been marked as private.
    #384692

    Hi!

    That’s weird. I thought for sure this was working on my XAMPP setup but just checked again and it’s giving me problems.

    What happens when you comment out line 2679 in /enfold/js/shortcodes.js?

    //if(zeroOnly) fakeCountTo = countTo.replace(/0/g, '9');
    

    Cheers!
    Elliott

    #384694
    Anonymous

    This seems to do the trick! Thanks a lot, Elliott!

    TW

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Animated numbers | decimals not working’ is closed to new replies.