Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Jquery library question!! PLEASE HELP! -_- (specifically Jarallax)

Okay so I am completely new to Jquery to the point that the only experience I have using it is via tutorial video showing how to download Jquery and knowledge of some libraries. Other than that I have no knowledge of how EXACTLY it works besides that it is like short handing Javascript (which is another syntax I just barely know, other that the alert command).

SO all of that being said, I was wondering if anyone knew how to use Jarallax? Parallax scrolling is the cats pajamas. Ive been following this tutorial on how to use it but my code isnt working because I keep getting "jarallax is not a function" in my developer tools window.

How do I make it a function?

Also I had seen a question similar to mine on stackoverflow and someone replied that they should use a "try catch" command. If thats they way to make it work, then how exactly is that supposed to be written?

Right now it doesn't see or know what Jarallax is. Did you forget to include the Jarallax library in your HTML?

1 Answer

I got it figured out! But since then i just switched to stellar.js. it was much easier to use.