Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll cause image reposition #121

Open
ruivelocci opened this issue Mar 2, 2015 · 1 comment
Open

Scroll cause image reposition #121

ruivelocci opened this issue Mar 2, 2015 · 1 comment

Comments

@ruivelocci
Copy link

First, thanks for your awesome script. this is the second project I have pleasure to use Stellar.

When i do first scroll all elements with parallax, they jump to position causing a bad impression on page. After this, everything is ok. Code:
Index.html

<script src="js/jquery-1.11.2.min.js"></script>
<script src="http://maps.google.com/maps/api/js?sensor=false&libraries=geometry&v=3.7">
</script>
<script type="text/javascript" src="js/maplace-0.1.3.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/script.js"></script>

script.js
jQuery(document).ready(function ($) {
$(window).stellar({
responsive: true,
horizontalScrolling: false,
horizontalOffset: 0,
hideDistantElements: false
});
});

@leolux
Copy link

leolux commented Aug 14, 2015

Try responsive:false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants