jparallax icon indicating copy to clipboard operation
jparallax copied to clipboard

Responsive Bug in 2.0 ?

Open alainus opened this issue 11 years ago • 5 comments

I'm trying to achieve responsiveness on http://ur1.ca/d2l4k, using the same configuration as in the demo http://stephband.info/jparallax/demos/target.html, but upon resizing the window, the absolute position of the parallax layers shift left unproportionally if there isn't a window reload. See (Full) http://i.imgur.com/is2CCfn.jpg (Resized) http://i.imgur.com/uDsDOub.png (Reloaded) http://i.imgur.com/bjqRggJ.jpg. Browser is Chromium 25.0.1364.160-0ubuntu0.12.10.1.

alainus avatar Mar 15 '13 16:03 alainus

I have the same issue with my parallax slider, because my width is set to 100% (percents, not pixels) I get the same exact effect on my containers moving too far left. Any solution? Do I have to set an event listener on window.resize and keep refreshing the parallax? seems reduntant

OrangeWacko avatar May 20 '13 02:05 OrangeWacko

I have found this closed cased about unparallax() method, but I am not clear on how to use it, on resize or what/

https://github.com/stephband/jparallax/issues/43

OrangeWacko avatar May 20 '13 04:05 OrangeWacko

I eventually fixed it by using "reparallaxing" whenever the browser window resizes, since apparently the developers aren't interested.

alainus avatar Jun 26 '13 15:06 alainus

@alainus anychance you could show us how you fixed this problem? thanks

AndrewIontton avatar Apr 02 '14 11:04 AndrewIontton

I know this is old - but I'm having this exact issue. Anyone's help would be grand.

1002915 avatar Jun 22 '16 07:06 1002915