You can check for errors like this by opening the console in your browser (Ctrl+Shift+J in Chrome, Ctrl+Shift+K (I think) in Firefox, and F12 in IE).

hantaah
—
2013-06-07T10:02:36Z —
#3

ahh I see. What would be the reason for it not being found?

fretburner
—
2013-06-07T10:11:57Z —
#4

Well, the most likely reason would be that the files are not there - check in your /js folder to see if you have the file jquery.BGParallax.js - it looks like you're using wordpress, so it's possible that the files are in your theme directory.

hantaah
—
2013-06-07T12:55:34Z —
#5

I checked the files and all seem to be in the correct place. Checking out the console in inspect element it says " failed to load resource " for:

Wrapping the code in $(document).ready(function() { .. }) is important to ensure that the browser doesn't try to execute it until the page is ready. I get an error msg in the console in Chrome which says Uncaught TypeError: Object function (e,t){return new v.fn.init(e,t,n)} has no method 'BGP' and it points to this code.. so this is being run before the plugin has loaded which is what we need to prevent.

hantaah
—
2013-06-07T19:03:10Z —
#15

I wondered what that error was.. Ok so I changed it now to the code above but it's still not working

sorry to be such a pain!

fretburner
—
2013-06-07T19:11:26Z —
#16

hantaah said:

sorry to be such a pain!

haha, it's no problem

You've missed a bit off the code we were just talking about.. there should be an extra }); at the end.

hantaah
—
2013-06-07T19:18:11Z —
#17

I thought that was me making a copy and past mistake.

Did that but it's still not working...Only made the picture show above everything. I might cry

fretburner
—
2013-06-07T19:19:59Z —
#18

Do you have any docs for this plugin that you're using, or is there a website where I can see it in action?

hantaah
—
2013-06-07T19:27:12Z —
#19

yea sure how can I send you the full file?

hantaah
—
2013-06-07T22:57:37Z —
#20

Great news!!! It's working, I moved the links to the bottom of most the php, not sure if that was it but hey it's working now