Giter Site home page Giter Site logo

Comments (13)

mikegreiling avatar mikegreiling commented on July 22, 2024

It appears to work fine in Safari 8 and Chrome 41. Which browser are you having trouble with?

from parallax.js.

r0mdau avatar r0mdau commented on July 22, 2024

Chrome Version 41.0.2272.76 (64-bit)

Same problem using Chrome on Debian linux or chromium browser and Chrome on Widonws 7 64bit.

Screenshot : http://www.romaindauby.fr/export.png

from parallax.js.

mikegreiling avatar mikegreiling commented on July 22, 2024

Strange. I'm running the exact same version of Chrome on OSX and I cannot replicate the issue. I'll have to check it out again next time I'm near a windows machine.

from parallax.js.

r0mdau avatar r0mdau commented on July 22, 2024

I have the same problem using Chrome on MacBookPro

from parallax.js.

th0th avatar th0th commented on July 22, 2024

I have the very same issue on Mac OS X 10.10.2, Google Chrome 41.0.2272.101. Can't reproduce in Mozilla Firefox.

Problem seems to go away when I override the z-index property of element div.parallax-mirror with a non-negative value (for example 0).

Adding a screenshot just for reference: http://i.imgur.com/KMzgJdU.png

from parallax.js.

SaltTank avatar SaltTank commented on July 22, 2024

Hey th0th thanks for the hint. Just tried to reset the zIndex in the parallax JS and it works fine. Are you aware of any unwanted impacts besides not being able to layer in the negative values?

from parallax.js.

th0th avatar th0th commented on July 22, 2024

@SaltTank Glad it helped. In my case, the div element after the .parallax-window was messed (it was under the parallax image i used). I had to set position: relative; z-index: 2; to get it over parallax image.

from parallax.js.

IsaacNeal avatar IsaacNeal commented on July 22, 2024

@th0th & @SaltTank Seems that for me this fixed the issue, but it also introduced another. Content inside the parallax window now does not show. Did you have this problem at all @SaltTank?

from parallax.js.

IsaacNeal avatar IsaacNeal commented on July 22, 2024

@th0th & @SaltTank I figured it out. Thanks @th0th.

I actually had to implement both of your solutions. Changing the zIndex value to 0 allows the modal to stack on top, and setting position:relative and z-index:2 made the element inside the parallax window stack on top.

from parallax.js.

r0mdau avatar r0mdau commented on July 22, 2024

@IsaacNeal Can you be more precise of which z-index you set to 0 and wich position:relative and z-index:2 you set ?

Thanks.

from parallax.js.

IsaacNeal avatar IsaacNeal commented on July 22, 2024

@r0mdau in parallax.js search for "parallax-mirror". The first bit of code you will find is:
addClass("parallax-mirror").css({visibility:"hidden",zIndex:-100,position:"fixed",top:0,left:0,overflow:"hidden"})

Change -100 to 0 for the zIndex.

The elements you need to set to relative position and z-index 2 are any elements you want to display content inside of .parallax-window.

In my case, I have a div with class .content-wrapper inside the .paralax-window. Your's would obviously be something different.

from parallax.js.

r0mdau avatar r0mdau commented on July 22, 2024

@IsaacNeal ok thank you ;)

from parallax.js.

wstoettinger avatar wstoettinger commented on July 22, 2024

closed antiquated issue for cleanup. if this is still rellevant, feel free to reopen.

from parallax.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.