Tagged: animated numbers
-
AuthorPosts
-
October 20, 2021 at 8:42 pm #1325775
Hi, animated Numbers with dots: 32.000 do strange stuff. It goes up on the 32 part and afterwards it still counts up for the 000 part.
See here: https://gasline.poli-projekt.de/en/
This must be an issue with the dots as everything works right if there are no dots in it. See: https://gasline.poli-projekt.de/
Could you pleas check this out?
Cheers SaschaOctober 21, 2021 at 1:14 pm #1325861Hey saschapi,
Thank you for the inquiry.
When you add a dot between the numbers, the theme or the script treats the numbers on both sides of the dots separately. Without the dot, this is the markup.
<span class="avia-single-number __av-single-number" data-number_format="" data-number="32000" data-start_from="0">32000</span>
With the dot, you will see this.
<span class="avia-single-number __av-single-number" data-number_format="" data-number="32" data-start_from="0">32</span> <span class="avia-single-number __av-single-number" data-number_format="" data-number="000" data-start_from="0">000</span></strong>
As you can see, the number 32 is separated from 000, which will then be animated in successive manner. It might be best just to omit the dot and remove the trailing zeroes.
Best regards,
IsmaelOctober 21, 2021 at 2:04 pm #1325879In Europe we use the dot as a seperator for thousands. So removing the “trailing” zeroes is not a thing ;) I will remove the dot, but this should be treated as a bug as the documentation clearly states that it should be possible!
CheersOctober 22, 2021 at 4:58 am #1325968Hi,
Thank you for the clarification.
In Europe we use the dot as a seperator for thousands. So removing the “trailing” zeroes is not a thing ;)
I thought that was a decimal point. Using comma to separate digits or numbers are widely recognized around the globe, so replacing the dot with a comma or completely removing it should not effect how the visitors perceive the animated numbers or data. Unfortunately, adjusting the script to treat numbers separated by dots differently will require modifications that are beyond the scope of support.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.