johnpolacek / scrollorama

The jQuery plugin for doing cool scrolly stuff. NOTE: No longer under active development. New version is ScrollMagic.js
http://johnpolacek.github.com/scrollorama/
2.51k stars 371 forks source link

scrolldeck+scrollorama #39

Open andresarcin opened 11 years ago

andresarcin commented 11 years ago

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>