Coder Social home page Coder Social logo

Comments (4)

Narretz avatar Narretz commented on August 20, 2024

Hi,
I had the same problem and I found a solution that works for my setup. So it's hackish and probably limited.
I just removed

            // get the children behind
            var $prependedChildren = getArraySample($children, 0, options.moveSlideQty, 'backward');

            // add each prepended child to the back of the original element
            $.each($prependedChildren, function(index) {
                $parent.prepend($(this));
            }); 

of the function setChildrenLayout.
After you do this, however, the first slide on page load is the second, and the pager is wrong. So I added a call to the public function goToFirstSlide() after intialising the slider. Since I don't plan on using InfiniteLoop or multiple elements per slide, this works fine for me.

from bxslider-3.

dsuriano avatar dsuriano commented on August 20, 2024

Narretz - thanks for posting that hack! I was just about to give up on bxslider before I found your comment - saved the day (even if it is a hack). Thanks again!

from bxslider-3.

johnbacon avatar johnbacon commented on August 20, 2024

I want to thank Narretz too - fixed my issue, and the only thing I found that did. Now to find why it was happening...

from bxslider-3.

mblarsen avatar mblarsen commented on August 20, 2024

Worked for me to. I added goToPreviousSlide() on slider init. This works in my case as the slider is a bit down on the page.

from bxslider-3.

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.