Tagged: animated numbers
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!
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
No, unfortunately that does not change anything.
Hi!
Go ahead and deactivate all plugins and send us a WordPress login and we’ll take a closer look.
Regards,
Elliott
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
This seems to do the trick! Thanks a lot, Elliott!
TW