Need to update jQuery plugin so it works with latest version of jQuery

Hello all!
Hope you had a wonderful holiday!

So..I've got an awesome parallax plugin I'm using on a site. Worked great in HTML because version 1.6.4 of jQuery library is being used. But now I'm trying to incorporate this parallax into my custom Wordpress theme and Wordpress is using version 1.10. The Parallax is dead in the water.

I'm getting this error in the console:

event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

I'm not much of a javascript coder so I don't know where to change this.

Here's the HTML site where you can see the working parallax:

Here's my Wordpress site, where it's not working at all:

Thanks so much!
Alicia St RoseOwner & Principle Developer/DesignerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Both links look identical to me with no errors.
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I just checked again and First link works fine: When I click the navigation on the top right, I get a smooth parallax scroll. When I click anything on the Wordpress site, I get nothin'.

That isn't happening for you? I'm on Chrome.
Yes I see it in Chrome (FF & IE is fine)

Just replace event.returnValue in the plugin with event.preventDefault() like it says - it's worth a try.

Update to 1.11
Get Blueprints for Increased Customer Retention

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I've used FIND in all of the js files to locate "event.returnValue" and I'm coming up with nothing...
Just update jQuery to 1.11 (I edited my answer above)
Scott FellDeveloper & EE ModeratorCommented:
You may need to use the migrate plug in
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
okay. I've update to jQuery 1.11 beta and added the migrate plugin.
I'm still not getting this to work. Not sure if I've added the migrate plugin correctly.
I did this on the HTML site and not the Wordpress site, just to test without having to worry about adding it through functions. And Wordpress has jQuery 1.10.1 so not sure if this is going to work out for me even if we debug for 1.11.
Scott FellDeveloper & EE ModeratorCommented:
Mac osx chrome browser seems to work.  The only error I get in the console is

Failed to load resource: the server responded with a status of 404 (Not Found)
Failed to load resource: the server responded with a status of 404 (Not Found)
For wordpress you can follow here to change to 1.11, if it doesn't work then you can always revert
In functions.php add
//Making jQuery Google API
function modify_jquery() {
	if (!is_admin()) {
		// comment out the next two lines to load the local copy of jQuery
		wp_register_script('jquery', //', false, '1.11.0');
add_action('init', 'modify_jquery');

Open in new window

I've amended slightly to not rely on non ssl protocol

Not sure if you are saying the new link is supposed to be using 1.11 - it is using 1.6.4...???
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Hi GaryC123,
Changing the jQuery like that in Wordpress breaks some of my plugins. So I need to make this work with 1.10.2.
I may be out of luck...
Yeah it is beta at the mo - try taking it down to 1.9
If no luck then you may have to look at another newer plugin - a lot has changed in jQuery since 1.6
Can you zip up the files (js,css,images etc) and I will see if I have time to look through the code.
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
It's almost impossible to keep up with the march of technology!

I hope this can be fixed, because it's the closest and easiest to implement. I looked at a few others and my eyes crossed.

You can also find the plugin here:

Not sure if you are on Github but if you are and you manage to tweak it to work, us green newbies would be profoundly grateful if you forked it!
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I was playing around with some other parallax plugins and realized that the style sheet I zipped might be a mess.

Here's the good one.
Well this was easier than expected - upgrade the scrollTo to

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Whoo HOOO!! You are a ROCK STAR!

Totally worked.
Thanks you SO much!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.