You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, is it possible to disable temporarily only on mobile version,
ex: if(screen.width > 1024) { ParallaxScroll.init(); } else { $('.myclass').removeAttr("data-parallax"); }
how we can remove the data-parallax attribute temporarily and set it back once the screen width is more than 1024px?
seems the ParallaxScroll.init() not trigger the removed attribute back.
Any idea will be appreciated! Big Thanks :)
The text was updated successfully, but these errors were encountered:
@friizu
i'm not an expert javascript/jquery but what are you trying to accomplish there? seems there some missing brackets, i got an error on the scripts
Hello, is it possible to disable temporarily only on mobile version,
ex:
if(screen.width > 1024) { ParallaxScroll.init(); } else { $('.myclass').removeAttr("data-parallax"); }
how we can remove the data-parallax attribute temporarily and set it back once the screen width is more than 1024px?
seems the ParallaxScroll.init() not trigger the removed attribute back.
Any idea will be appreciated! Big Thanks :)
The text was updated successfully, but these errors were encountered: