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

scrolldeck+scrollorama #39

Open
andresarcin opened this issue Jun 6, 2013 · 0 comments
Open

scrolldeck+scrollorama #39

andresarcin opened this issue Jun 6, 2013 · 0 comments

Comments

@andresarcin
Copy link

great plugins thanks, but i'm doing something wrong. scrolldesk is working fine, but when i try to make a

parallax inside a slide the scrollorama doesn't work. ¿How can i fix that? http://uva-sonidofino.com/test/ (the object i am trying to animate is the speaker) I would apreciatte if you could help me find what am i doing wrong.

the console says: Cannot read property 'pin' of undefined.

     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <script src="http://code.jquery.com/jquery-migrate-1.2.1.js"></script>
    <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
    <script src="js/plugins.js"></script>
    <script src="js/main.js"></script>
    <script src="js/jquery.scrollTo-1.4.3.1.min.js"></script>
    <script src="js/jquery.easing.1.3.js"></script>
    <script src="js/jquery.scrollorama.js"></script>
    <script src="js/jquery.scrolldeck.js"></script>

   <script>
    $(document).ready(function() {

        var deck = new $.scrolldeck({
            buttons: '.nav-button',
            slides: 'slide',
            easing: 'easeInOutExpo',
        });

        deck.controller.animate('#parallax1',{ delay: 400, duration: 1000, property:'top', start:2500, end:300 });

    });
</script>
 </body>
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

1 participant