wagerfield / parallax

Parallax Engine that reacts to the orientation of a smart device

Home Page:http://wagerfield.github.io/parallax/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anyway to disable parallax only for Mobile Devices.

Reubzz opened this issue · comments

I wanna basically have the parallax feature on Desktop only and not have it on Mobile devices. How do I go about that?

before intializing the scene you can just check whether the user is on a mobile device or not and conditionally run the Parallax contructor.

Yeah I figured that out and implemented this