vendredi 26 août 2016

Cannot read property 'childNodes' of null in a slider

I have created a simple Javascript slider with Slice and Box effects. It runs and no problem. But when i look up console, I see that after two cycles it throws an error. Browser says that document.getElementById('smth') cannot get specified element. What may be the problem? Below is codepen URL. Slider

script

Aucun commentaire:

Enregistrer un commentaire