Home › Forums › Other › Parallax using drag › Reply To: Parallax using drag
May 2, 2016 at 9:05 am
#241156
Participant
There used to be a W3 page with a similar basic jQuery parallax example. But I can’t seem to find it anymore.
It’s not too difficult though. Just stack a bunch of images and offset their position based on mousemove touchmove
.
Edit – it’ll become dragging when the above events are nested inside a mousedown touchstart
by the way.