Coder Social home page Coder Social logo

Comments (9)

tba6440 avatar tba6440 commented on August 20, 2024

maybe you can try to add a width to the li tag

from bxslider-3.

somerussian avatar somerussian commented on August 20, 2024

nice idea, but didn't work.
Here is the test page: http://kendo74.ru/nashi-eksperty/glushko-aleksandr
You can see both slideshow and it's photos there.
Any other ideas?

from bxslider-3.

adrian-fc avatar adrian-fc commented on August 20, 2024

I am having an issue where mode:fade doesnt work with multiple slides (where mode:horizontal does)

from bxslider-3.

tejasunkara avatar tejasunkara commented on August 20, 2024

Any success with this?
Im trying to accomplish something exactly like this.

My displaySlideQty is 3 and want my slider to work with mode: 'fade'. Only one slide gets displayed :(

My function:

$(function(){
$('#scrollable').bxSlider({
mode:'fade' ,
displaySlideQty: 3,
moveSlideQty: 3 });
});

from bxslider-3.

adrian-fc avatar adrian-fc commented on August 20, 2024

I had to 'cheat'

    displaySlideQty: 3,
    moveSlideQty: 3,
    infiniteLoop: false,
    pager: true,
    controls: false, 
    pagerSelector: '#pager1',
    auto: true,
    pause: 5000,
    speed: 0,
    onBeforeSlide: function(currentSlide, totalSlides){
  $('.carousel').fadeTo(400, 0);
},
    onAfterSlide: function(currentSlide, totalSlides){
  $('.carousel').fadeTo(400, 1);
}

Prob not the best idea (and the fades dont overlap) but the client was happy enough

from bxslider-3.

 avatar commented on August 20, 2024

I found a solution about this issue :

$(".slider .slide").each(function(index) {
    var displaySlideQty = 2;

    if(index % displaySlideQty == 0) {
        $(this).before("<div class=\"slide-group\"></div>");
    }

    $(this).appendTo($(this).prev());
});

$(".slider").bxSlider({
    mode: 'fade',
    pager: true,
    controls: false,
    speed: 600
});

from bxslider-3.

 avatar commented on August 20, 2024

I've found another cheat for this, it's quite easy. If You want to display 'n' slides at once (and move by 'n' as well), You can put every 'n' slides in some wrapper.
In example, for two slides at once, instead of:

<div id="slider1">
  <div>Slide one content</div>
  <div>Slide two content</div>
  <div>Slide three content</div>
  <div>And so on...</div>
</div>

we've got something like this:

<div id="slider1">
  <div>
    <div>Slide one content</div>
    <div>Slide two content</div>
  </div>
  <div>
    <div>Slide three content</div>
    <div>And so on...</div>
  </div>
</div>

Now, those wrappers are threated as slides.

from bxslider-3.

aarondaniels00 avatar aarondaniels00 commented on August 20, 2024

@tasiek

That's cool. I understand what you accomplish with this approach, but I'm not sure nesting is necessary.

Check out this example: http://bxslider.com/examples/display-move-multiple-slides-once-example-two

This example uses an unordered list, but I think div's would work as well.

from bxslider-3.

b3ckstage avatar b3ckstage commented on August 20, 2024

@wandoledzep we really need this feature.

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.