Skip to content

scrolldeck+scrollorama #39

Description

@andresarcin

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions