Open Tidal-Wave opened 9 years ago
For those who can't wait for the update, here's my solution which works like charm :)
var oneSlider = ($('#slider').children().length < 2);
$('#slider').bxSlider({
auto: (!oneSlider),
pager: (!oneSlider),
});
I have an other easy solution with CSS:
.bx-pager-item:first-of-type:last-of-type {
display: none
}
good one! :)
Thank You for css
var oneSlider = ($('#slider').children().length < 2);
$('#slider').bxSlider({ auto: (!oneSlider), pager: (!oneSlider), });
This worked!! :)
More clear is using CSS due resizing window.
Was partially addressed in https://github.com/stevenwanderski/bxslider-4/pull/377 but there where issues still and am not sure it needs an option. Will look at making this automatic in update.