Can't display jQuery animation & error "e.toFixed is not a function"

7 replies · opened Aug 15, 2018

AalpschenAug 15, 2018

Hi, I'm using "one-page" as my template. Everything worked fine at first. However, one day the jQuery animations to animate the numbers in the screenshot started to disfunction. I have no idea what I did wrong. I simply changed some texts and photos, but didn't modified the structure. Simultaneously, the console kept displaying the error "e.toFixed is not a function" in the js files. I've saw that it might be the problem with Google Maps, but it was initially at the bottom and I also removed the script part for the map but in vain. Please help me take a look, this problem has troubled me for a long time. Thank you!

AalpschenAug 15, 2018

I apologize for not paying attention to the maximum file size. I adjusted the size. Please allow me to upload it here.

AalpschenAug 15, 2018

Here it is.

SSemicolon WebSTAFFAug 16, 2018

Hello,

There appears to be some Javascript Error on the Page which is causing this issue. From the first glances, we can see that the jQuery.countTo Function has the issue and might have not been parsed properly from the js/plugins.js File. Can you please provide us with a Live URL so that we can check out the exact issue and provide you with a more accurate solution for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

AalpschenAug 19, 2018

Thank you for your reply! Here's the URL for my website. (http://alpschen.tech) It may take a while to load. Thank you again for the assistance.

SSemicolon WebSTAFFAug 21, 2018

Hello,

We have checked out your Website and the issue appears to be with the spaces within the Attribute Value you have added for the Counters. Find the following code on your HTML Page:

notice the spaces after the Numbers. This is the likely cause of the error. So simply replace it with:

Please make sure that you do this for all the similar codes on the Page.

This will definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

AalpschenAug 21, 2018

Oh! That seems to be the stupid formatting thing. Thank you so much for the assistance and rapid reply! Your team is really reliable and amiable! :)

SSemicolon WebSTAFFAug 22, 2018

Hello,

Really Glad that your issues were resolved. Thanks for your Patience.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard