[jQuery] Re: Circular jCarousel
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 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
[jQuery] Re: Circular jCarousel
Surely i control the html, after it was generated. But that isn't the point, since it didn't work well, even doing like the example (putting the html in a array). Although, today i'll try to use our friend Nathan plug-in. On Apr 7, 10:03 pm, MorningZ wrote: > "Well, i can't because the html is being generated by PHP" > > Do you control the outputted HTML by PHP? > > On Apr 7, 7:36 pm, Filipe La Ruina wrote: > > > Yeah, i know it doesn't, but jCarouselite for example does it in a > > nice way (although other problems showed up when i tryed to use it) > > > I'll try to see your plug-in, thanks for your help. > > > On Apr 7, 6:57 pm, Nathan wrote: > > > > jCarousel doesn't really do looping. Most content sliders don't > > > because of the fundamentals behind how they are generated on the page. > > > > I have just released a plugin called loopedSlider that loops slider > > > content. It may be a solution for you. If so let me know. > > > >http://code.google.com/p/loopedslider/ > > > > On Apr 6, 3:05 pm, Filipe La Ruina wrote: > > > > > Hello everyone! > > > > I'm trying to use jCarousel in a project and the client asks for the > > > > following: > > > > 4 pages circular slideshow 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 it > > > > circular. 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 data circular, since in > > > > the website (http://sorgalla.com/projects/jcarousel/#Examples) there > > > > is a circular example 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
[jQuery] Re: Circular jCarousel
"Well, i can't because the html is being generated by PHP" Do you control the outputted HTML by PHP? On Apr 7, 7:36 pm, Filipe La Ruina wrote: > Yeah, i know it doesn't, but jCarouselite for example does it in a > nice way (although other problems showed up when i tryed to use it) > > I'll try to see your plug-in, thanks for your help. > > On Apr 7, 6:57 pm, Nathan wrote: > > > jCarousel doesn't really do looping. Most content sliders don't > > because of the fundamentals behind how they are generated on the page. > > > I have just released a plugin called loopedSlider that loops slider > > content. It may be a solution for you. If so let me know. > > >http://code.google.com/p/loopedslider/ > > > On Apr 6, 3:05 pm, Filipe La Ruina wrote: > > > > Hello everyone! > > > I'm trying to use jCarousel in a project and the client asks for the > > > following: > > > 4 pages circular slideshow 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 it > > > circular. 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 data circular, since in > > > the website (http://sorgalla.com/projects/jcarousel/#Examples) there > > > is a circular example 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
[jQuery] Re: Circular jCarousel
Yeah, i know it doesn't, but jCarouselite for example does it in a nice way (although other problems showed up when i tryed to use it) I'll try to see your plug-in, thanks for your help. On Apr 7, 6:57 pm, Nathan wrote: > jCarousel doesn't really do looping. Most content sliders don't > because of the fundamentals behind how they are generated on the page. > > I have just released a plugin called loopedSlider that loops slider > content. It may be a solution for you. If so let me know. > > http://code.google.com/p/loopedslider/ > > On Apr 6, 3:05 pm, Filipe La Ruina wrote: > > > Hello everyone! > > I'm trying to use jCarousel in a project and the client asks for the > > following: > > 4 pages circular slideshow 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 it > > circular. 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 data circular, since in > > the website (http://sorgalla.com/projects/jcarousel/#Examples) there > > is a circular example 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
[jQuery] Re: Circular jCarousel
Well, i can't because the html is being generated by PHP, i even tried doing a test var with jquery getting the html of these contents. He got the contents but screwed with the controls and behavior. So i don't know if i did something wrong, or it isn't possible at all... On Apr 7, 7:11 pm, MorningZ wrote: > "there is a circular example 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. " > > i don't think you understand his "circular" example on > > http://sorgalla.com/projects/jcarousel/examples/special_circular.html > > why couldn't you build the variable: > > var mycarousel_itemList > > with your data? it would be the same exact thing as placing > items in the HTML > > On Apr 6, 6:05 pm, Filipe La Ruina wrote: > > > Hello everyone! > > I'm trying to use jCarousel in a project and the client asks for the > > following: > > 4 pages circular slideshow 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 it > > circular. 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 data circular, since in > > the website (http://sorgalla.com/projects/jcarousel/#Examples) there > > is a circular example 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
[jQuery] Re: Circular jCarousel
"there is a circular example 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. " i don't think you understand his "circular" example on http://sorgalla.com/projects/jcarousel/examples/special_circular.html why couldn't you build the variable: var mycarousel_itemList with your data? it would be the same exact thing as placing items in the HTML On Apr 6, 6:05 pm, Filipe La Ruina wrote: > Hello everyone! > I'm trying to use jCarousel in a project and the client asks for the > following: > 4 pages circular slideshow 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 it > circular. 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 data circular, since in > the website (http://sorgalla.com/projects/jcarousel/#Examples) there > is a circular example 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
[jQuery] Re: Circular jCarousel
jCarousel doesn't really do looping. Most content sliders don't because of the fundamentals behind how they are generated on the page. I have just released a plugin called loopedSlider that loops slider content. It may be a solution for you. If so let me know. http://code.google.com/p/loopedslider/ On Apr 6, 3:05 pm, Filipe La Ruina wrote: > Hello everyone! > I'm trying to use jCarousel in a project and the client asks for the > following: > 4 pages circular slideshow 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 it > circular. 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 data circular, since in > the website (http://sorgalla.com/projects/jcarousel/#Examples) there > is a circular example 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