Ok, i managed to get my data to load the way the example shows. It
iscircular now, although I have a bug that happens when i scroll back
with my controls and click on a 'page' it scrolls to the page but
don't put it in the right position, like, page 3 has to show itens 3
and 4, although after scolling back and clicking 3 it show half 3, 4
and half 1 (i have only 4 itens).

I think that has something to do with positioning and the math the
plug-in does. I'd like to know what i have to do to solve that.

Here are my options:

$('#my_carousel').jcarousel({
                scroll: 1,
                auto: 2,
                visible: 2,
                initCallback: carousel_controls,
                itemVisibleInCallback: {onBeforeAnimation: visibleInCall},
                itemVisibleOutCallback: {onAfterAnimation:
visibleOutCallback},
                wrap: "circular",
                buttonNextHTML: null,
                buttonPrevHTML: null
        });

On Apr 6, 7:05 pm, Filipe La Ruina <filaru...@gmail.com> wrote:
> Hello everyone!
> I'm trying to usejCarouselin a project and the client asks for the
> following:
> 4 pagescircularslideshow showing two articles at a time, scrolling
> one by one. All that with page controls and next/previous buttons as
> well as an play/pause button.
>
> Well, I managed to do all the controls needed but couldn't make itcircular. 
> All my data will load with the page, so i'm setting the list
> itens in the html already (all that to say, no ajax involved). I'd
> like to know if someone managed to make static datacircular, since in
> the website (http://sorgalla.com/projects/jcarousel/#Examples) there
> is acircularexample that shows only data beeing 'generated' in
> execution time. Well, i can't do that with my data, so i'm asking for
> some help.
>
> Also, I would appreciate if someone could explain me what the 'wrap:circular' 
> option does, since i see no difference in using it.
>
> I thank you all for the help,
>
> Filipe La Ruina

Reply via email to