Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Chrome 21.0 - Does not initialize at the correct position. #45

Open
samaybhavsar opened this Issue · 2 comments

3 participants

@samaybhavsar

Hey,

I am using Windows Vista, Chrome 21.0 and the target.html demo is not opening properly. When I move my cursor from top left into the parallax port, the image moves and starts from the center of the screen.

I checked using Inspect Element and found that the margin-left and margin-top values is 0. In firefox, the values keep changing.

@Steamforge

I had the same issue. I had 8 images and only 2 of them would initialize. The rest would stay at margin-left:0. It seems as if the DOM isn't finished loading when parallax triggers. I found that initializing the parallax in a setTimeout worked.

@josh3ennett

Yeah, I saw the same issue. setTimeout did the trick. Thanks for the work around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.