Hi everyone,

I'm trying to figure out if I'm doing something wrong or if there's a
bug in jCarousel.

The number of items in my jcarousel is dynamic, and i have a 'live
filtering' feature on the client side too, so the number of items may
change in runtime, and the only working way I've gotten that to work
is to follow the steps in 
http://groups.google.com/group/jquery-en/msg/39e31f997e6d87a0.
ie. recreate the carousel.

Anyway, when the jcarousel is initialized with too few items, meaning
the items doesn't fill the carousel in with, I get an error:

el has no properties
[Break on this error] el.offsetWidth + $jc.margin(el, 'marginLeft') +
$jc.margin(el, '...

There is a couple of loops in the code that loop, not the items, but
the number of possible visible item, resulting in null-items. Just to
be sure, I modified the example at 
http://sorgalla.com/projects/jcarousel/examples/static_simple.html
so it only had 2 items. I got the same error there.

v1.2.1

Thank you,
Glenn

Reply via email to