I'm using jCarousel, Views Carousel (latest dev version), and QuickTabs.

If I have 2 quick tabs and one of them links to a view that is a Views Carousel view.... doesn't matter what the other quick tab is, node, block, view..

I get the error message "jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..."

It seems that there is a problem with using these 3 modules together.

Comments

cookiesunshinex’s picture

Status: Active » Closed (fixed)

The fix to my particular issue was answered on the QuickTabs issues queue.

Please see how I fixed this here:
http://drupal.org/node/538926#comment-2250316

akalata’s picture

I also ran into this error message while using jCarousel with Galleria. Message pops up twice, then loads the template/css without any images.

In my setup (Drupal 6.15, jCarousel 6.x-1.1, Firefox 3.7 on Mac), it seems to be related to conflicts between the browser cache and server cache, so I had to clear both as I was working on tweaking the jCarousel skin. Even when clearing browser/server caches with each css tweak, I still was only able to open one gallery (among a set of 4, set to open in lightboxes) while logged in, before getting the error message. When I log out, I cannot view any gallery without error. I did not receive these messages when testing on Safari 4 (logged in or out).

After setting some Performance settings, Caching mode -> Normal and Optimized CSS and JS -> Enabled, I was able to cycle through each of the galleries without any errors in FF. Able to do it once, at least... I'm having problems duplicating my success. Safari is still fine, so it looks like I need a browser expert to help me out.

Edit:
On further thought, I'm wondering if the error is triggering due to image loading issues I was having with Galleria, even before implementing jCarousel. Will post a follow-up if I have any success exploring that.

carlescliment’s picture

Have the same problem here.

Any progress?

sebasto’s picture

I also encouter this problem, but with custom code.

On my page, I update the node content vith ajax. As soon as the ajax.load() is fired, the error popup shows.

My guess is that when the DOM is changed via ajax, jcarousel loses its

  • and gives this error.

    I'm trying to unload the jcarousel before my ajax.load, and then reload it calling drupal behavior, but can't figure how to do that (yet) ...