Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Parallax using drag Reply To: Parallax using drag

#241156
Shikkediel
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.

Here’s something I found.

Edit – it’ll become dragging when the above events are nested inside a mousedown touchstart by the way.