jCarousel 0.2.1
I’ve just updated jCarousel to 0.2.1. The latest jQuery 1.2.1 is now bundled with the package.
18 Responses to 'jCarousel 0.2.1'
Leave a Reply
Do not post support requests for jCarousel here. If you need help for a problem:
- Create a page where i can see your carousel in action
- Post it to the jQuery Mailinglist (Add the word "jCarousel" to the subject, so i can filter out mails regarding jCarousel).


I’m very happy with the update - it took care of a couple problems I was having. One thing - if you call the scroll() function with a string “1″ instead of a number 1, it really screws up the carousel.
I mention this in the hope that it helps other folks who run into this problem.
Hi there. I have a suggested fix to jCarousel that I’d like to share with you.
I discovered that if the items I put into the jcarousel had lists of their own, then it tended to screw up the carousel effect - the code setting it up would notice these grandchildren list item tags and count them as items in the list. What you really only want to pick up are direct children of the list. So, in jquery.jcarousel.js line 149, where you have:
‘var li = $(’li’, this.list);’
If you change it to:
‘var li = this.list.children(’li’);’
It fixes the problem nicely.
Thanks - this is a great extension to jQuery, and I’ve been really impressed with how you made it so easy to extend.
Thanks a lot, John. Its fixed….
Great. Will that fix be in 0.2.2? And do you know when that may be released? Thanks.
I fixed that silently in the current version…
why cant i post????
omg, ok, question. can i use a more complex carousel structure instead of list items. replacing the with a wrapper and the with a complex structure. i want to create more of a pane carousel instead or just simple list items.
god. replacing the ul with a wrapper div and the li with a complex div img p structure. i want to create more of a pane carousel instead or just simple list items.
You can’t change the <ul>/ <li> structure, but you can place whatever you want inside the <li>’s.
thank you jan, you do rock
hmm, do i need to include the jCarousel css files? check out the site I’m working on, if you dont mind. im not sure what im doing wrong. http://www.chalet.dsbeta.com
Is there a why to remove the jcarousel after attaching it to something. so say i do the following: jQuery(”#modRegBenefits”).jcarousel({
scroll: 1,
animation: 700,
initCallback: modRegBenefits_initCallback,
itemVisibleInCallback: {
onAfterAnimation: modRegBenefits_itemVisibleInCallbackAfterAnimation
}
});
Then I want to remove the carousel from jQuery(”#modRegBenefits”).
Any ideas, is it possible?
yes i do, got it.
Great tool. I have one small issue. I implemented the circular method using the callbacks and experience a “flicker” on the carousel list when carousel.remove(i) is called. I use this config:
csl.jcarousel({
auto: 3,
vertical:true,
animation:’slow’,
wrap: ‘circular’,
itemVisibleInCallback: {onBeforeAnimation: mycarousel_itemVisibleInCallback},
itemVisibleOutCallback: {onAfterAnimation: mycarousel_itemVisibleOutCallback}
});
Any insight would be helpful.
How do I change the number of images shown in the carousel? By default its 3, but I’d like to increase it (without the fancy functionality of ‘visible’).
That depends on the width of the clip:
.jcarousel-clip-horizontal { width: 245px; }Just change the width to a higher number to show more images.
Please fix the flickering issue.
Please
hi jan, back again. please check out the following url where im using jcarousel to act as an image slideshow. but to the left of the clip container i have a nested navigation list that is showing underneath the clip container in IE6. the navigation shows above the clip container just fine in other modern browsers but i can’t seem to figure out why its acting up in IE6. when the page loads i can see that the navigation appears first, before the clip container appears, but its the other way around in other browsers. any ideas?
newwinter.tnvacation.com