I have a circular scrollable gallery, that's triggerd by the default next and prev buttons.
My code is simple:
When I get to the "4th page" it jumps by one.
So I changed the page size to 1:
But when it gets to the last item, there are 4 empty items before the first one comes around again.
Is there a trick to making a circular, continuous scrollable with an uneven number of items?
My code is simple:
$("div.scrollable").scrollable({
clickable: false,
size: 5
)
.circular();
But instead of 3 pages of 5 items each, I have 16 items. When I get to the "4th page" it jumps by one.
So I changed the page size to 1:
$("div.scrollable").scrollable({
clickable: false,
size: 1
)
.circular();
But when it gets to the last item, there are 4 empty items before the first one comes around again.
Is there a trick to making a circular, continuous scrollable with an uneven number of items?