Hi all, I have made simple slide that slides block from the left to the right. I used requestAnimationFrame for repated tasks. It works. But one problem is that when blocks are moving sometimes freeze and i saw that sliding is not smooth. Where i made mistake in my code? below is slider.
Slider
Any help greatly appreciated. Thanks in advance.
Azer_1 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Azer_1 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Azer_1 0 Newbie Poster
gentlemedia 803 Master Poster
Azer_1 0 Newbie Poster
gentlemedia 803 Master Poster
Azer_1 0 Newbie Poster
gentlemedia 803 Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.