I’m using a javascript function on this site to have a slideshow of images.
However, when I try to copy the javascript function and use it for example for “Bremsen”. It doesn’t work. Is there anyway, that you can give a javascript an ID, so that both animations work at the same time?
I’m using a javascript function on this site to have a slideshow of images.
Share
I think the problem is that you are using the same variables. Right now the solution would be renaming the variables youre using in every instance of the function like:
But tha’s not a good practice, I agree with @killercowuk