Solved

jQuery or CSS

Posted on 2016-11-02
9
38 Views
Last Modified: 2016-11-07
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.
0
Comment
Question by:rgranlund
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 41871245
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
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 41871246
As for stopping it jumping around, not much you can do other than turn JavaScript off for that site.
0
 
LVL 7

Author Comment

by:rgranlund
ID: 41871255
It is the Grey bar that opens at the very top.  The box jumps in safari as you scroll down slowly.
0
 
LVL 82

Expert Comment

by:leakim971
ID: 41871259
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 7

Author Comment

by:rgranlund
ID: 41871264
ok, so do you think if I research parallaxPosition jumping in Safari I may find an answer?
0
 
LVL 82

Expert Comment

by:leakim971
ID: 41871389
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
 
LVL 7

Author Comment

by:rgranlund
ID: 41871453
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
 
LVL 82

Expert Comment

by:leakim971
ID: 41871473
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
 
LVL 51

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41871581
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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now