Download & Extend

jCarousel inside collapsed fieldsets render incorrectly

Project:jCarousel
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

Hi,
I'm trying to use jcarousel into my website. I've put a list to manage with jcarousel into a fieldset initially set to collapsed. When uncollapsing it, the jcarousel block is shown with only the first image. The other images are not visible even if the arrows let the gallery go back and forth. When the carousel is out of the fieldset it works correctly.
Using Firefox 3.5.5 on Win XP.

Thanks,
m.

Comments

#1

Version:6.x-1.1» 6.x-2.x-dev
Component:Miscellaneous» Code
Status:active» postponed

I've confirmed this is still a problem, even with the latest 2.x version of jCarousel module and the latest library of jCarousel (0.2.7). jCarousel can't calculate the width of the carousel if it's not currently displayed on the page. This will likely need to be corrected by the jCarousel library.

#2

Title:Jcarousel into fieldset» jCarousel inside collapsed fieldsets render incorrectly

#3

There is a similar conversation over in #1180736: If Jcarousel is in a tab, it cannot display, which I've marked duplicate.

#4

Should we continue this discussion in this thread I presume? I have the same problem and tried applying this fix mentioned in http://drupal.org/node/1180736#comment-4566772 but had no luck..

#5

#6

So I have a question... I am using the Sky Theme and went to sky/css/framework and went into my drupal6-core.css file.

line 1293:

html.js .js-hide {
  display: none;
}

If i delete "display: none;" everything works. Is this safe? If i change it to "display: block;" this also works.. any problems you foresee with js files?