Closed (fixed)
Project:
jCarousel
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2009 at 21:25 UTC
Updated:
13 Dec 2010 at 07:40 UTC
I'm using jCarousel with Views Carousel. It seems like jCarousel is being applied recursively to all
Resizing my browser window slightly seems to trigger a jCarousel reload and these sub lists are re-laid out slightly differently.
Recursively applying to sub
Comments
Comment #1
keyframer commentedoops, rendered my html tags.....
I'm using jCarousel with Views Carousel. It seems like jCarousel is being applied recursively to all UL's within the intended list items. These inner UL's aren't behaving like full featured jCarousels, but widths are being dynamically applied to them and LI items are laid out horizontally.
Resizing my browser window slightly seems to trigger a jCarousel reload and these sub lists are re-laid out slightly differently.
Recursively applying to sub UL's isn't the intended behavior right?
Comment #2
kriboogh commentedBit of an old issue, but still present in the latest version. To solve this just add a > in between the selector at line 49 in carousel.js
$(selector + ' li').each(function(){
becomes:
$(selector + ' > li').each(function(){
Comment #3
quicksketchThis is not a problem in the 2.x version of the module. I suggest upgrading since the 1.x version will not receive any further updates.