Closed geschke closed 13 years ago
In most cases you don't need the visible option. This is for cases where the carousel has a flexible width and you want always a certain number of items visible. See: http://sorgalla.com/projects/jcarousel/examples/special_flexible.html
jCarousel simply sets the width for the <li>
elements (width_of_carousel / visible).
I kinda have the same issue.
I use the visible option set to 4. If the <li>
has right margin then the last visible item is visible with margin to.
Is there a solution where, when using visible option, the margin of last item is being clipped ?
Hello!
In your simple example you're not using the "visible" option. I've set "visible" to 3 and expected the same behaviour like before. But when the carousel scrolls to the left side, the right margin of scrolling area does some "flickering". There are a few pixels between right margin and the image, so it seems that clipping area and right margin of the right image doesn't match. The pixel size of "jcarousel-item" definition comes from some calculation. If the visible option is missing (and in this case set to null), and the CSS setting is not explicitly modified, everything seems correct.
Kind regards, Ralf