1
Good afternoon Guys, a week or so a customer came complaining that the link from his site was not working and I could not understand why, because the site was delivered working, it was a link that simply rolled the page. This week then I realized that the same kind of link stopped working on other sites of mine, and it’s a scroll function that I’ve used for a long time, and it’s presenting an error that I haven’t been able to decipher, someone can give me a help?
I am putting in the images below the code of the link that makes the function call by onclick, the error and also the js function that I am using.
I’ve tried it directly on the Chrome console to call the scroll() function and it works correctly, I realized then that the error is in onclick, but what would be?
– Gabriel Garcia
The following sites are sites that I have already made and are giving this problem: • http://braganca.adv.br (scroll link is at the top) • http://happyday-es.com.br (scroll link is at parties at the top)
– Gabriel Garcia