jQuery or CSS

on this page: inspyrus(DOT) com
as you scroll down.  A grey box opens.  Is that jQuey or is that CSS?  How do I find it in the script?  It also jumps around in Safari.  Any clues on how to stop it from jumping around in Safari as you scroll down slowly.
LVL 7
rgranlundAsked:
Who is Participating?
 
Julian HansenCommented:
It is a combination

You have the jQuery here
http://inspyrus.com/wp-content/themes/inspyrus/library/js/scripts.js

Look around lines 571 and 1276
0
 
RobOwner (Aidellio)Commented:
IT's a Wordpress site that utilizes a theme that's a mix of jquery and css.

You can see this by going to your dev tools in a browser e.g. chrome:

Clipboard01.jpg
0
 
RobOwner (Aidellio)Commented:
As for stopping it jumping around, not much you can do other than turn JavaScript off for that site.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
rgranlundAuthor Commented:
It is the Grey bar that opens at the very top.  The box jumps in safari as you scroll down slowly.
0
 
leakim971PluritechnicianCommented:
the code responsible to do this use jQuery :
http://inspyrus(dot)com/wp-content/themes/inspyrus/library/js/parallax.js

At the end of the file, the following call the parallaxPosition function when you scroll or resize the window:
    $(window).resize(parallaxPosition);
    //$(window).focus(parallaxPosition);
    $(window).scroll(parallaxPosition);
    parallaxPosition();

Open in new window

of course it use alose CSS
0
 
rgranlundAuthor Commented:
ok, so do you think if I research parallaxPosition jumping in Safari I may find an answer?
0
 
leakim971PluritechnicianCommented:
here the page of the plugin : http://www.minimit.com/articles/lets-animate/parallax-backgrounds-with-centered-content

the demo page don't have the issue you mentioned... on any browser
0
 
rgranlundAuthor Commented:
It seems like there are a lot of posts about safari and paralax being jumpy.

I don't believe the link you sent me addresses my issue.
0
 
leakim971PluritechnicianCommented:
where to see that posts ?
the link I sent to you is from the creator of the plugin and I did not saw any issue with its demo page
so I believe issues come from the way its used
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.