Giter Club home page Giter Club logo

Comments (4)

juek avatar juek commented on September 28, 2024

Also when using jquerry zoom and simple box1 style - image appeart on top of the next/prev/close buttons. My theme do not apply color box styles.

I wonder where this might come from. Below is the colorbox markup including the img.zoomImg element. All the control buttons are following siblings of div#cboxLoadedContent and get additional
#cboxPrevious, #cboxNext, #cboxClose { position: absolute; [...] z-index: 10; }
from /addons/ColorboxExtender/styles/simple_box_1/style.css
That's the only z-index I can see with your settings. Therefore the buttons should always render on top of div#cboxLoadedContent>img.zoomImg. Must be some other css interfering, IMO.

<div id="cboxContent">
  <div id="cboxLoadedContent">
    <img class="cboxPhoto" src="/some/image.jpg"/>
    <img class="zoomImg zoomEnabled" src="/same/image.jpg"/>
  </div>
  <div id="cboxTitle">Blah</div>
  <div id="cboxCurrent">Image 1 of 3</div>
  <button id="cboxPrevious">Previous</button>
  <button id="cboxNext">Next</button>
  <button id="cboxSlideshow"></button>
  <div id="cboxLoadingOverlay"></div>
  <div id="cboxLoadingGraphic"></div>
  <button id="cboxClose">Close</button>
</div>

from colorbox-extender.

a2exfr avatar a2exfr commented on September 28, 2024

I have no css for color box.
But all display good when add to
<div id="cboxLoadedContent"></div>

z-index:0 or z-index:auto it comes with no z-index attribute

from colorbox-extender.

juek avatar juek commented on September 28, 2024

Ah, I see.

Try this commit.

I hope it doesn't break pinch-swipe (thomasfrobieter). If it does, we need to play with the z-indices of the control elements.

from colorbox-extender.

thomasfrobieter avatar thomasfrobieter commented on September 28, 2024

Hi, yes i also noticed some bugs with the pinch swipe solution. Needs defenetly more testing ..

Sadly my time is currently very, very limited by our running drupal projects. I need some holidays to get the Typesetter tasks done ;)

from colorbox-extender.

Related Issues (8)

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.