Open full view…

SlideTo -> className + problem input

Wed, 14 Feb 2018 12:11:55 GMT

hi, some one know why if I use: document.querySelector('input.red').addEventListener('click', function (e) { e.preventDefault(); galleryTop.slideTo(2,0); }); The input field doesn't works ? Also, it's possible set to SlideTo with a specific class name? instead of using the position number. Thank you