1 reply [Last post]
MirabelTech's picture
Offline
Joined: 04/08/2010

I'd like to do away with the text in the carousel and show more than one image in the carousel block at the top of the page. Can anyone help me display more than the single image in the carousel, instead show as many images as happen to fit?

There seems to be something in the code that produces the following markup that sets the width:

I don't seem to have control over the widths that are set for the "ul" (style="width: 3030px; left: 0pt;") and "li" (style="width: 1000px;") styles. I am thinking if I could remove this width tag, I would get to see multiple images. I think the code that produces the end result is found in "sites\all\modules\viewscarousel\jquery.jcarousel.js" (around lines 111 and 154).

Rob D.'s picture
Offline
Joined: 04/09/2008

Hi,

There's a few things that have to be done - you must remove the tite, subtitle, and link fields from the View that controls the carousel, and alter the number of items that the carousel displays. There has to be a set number of images in order for it function correctly. It would then require changes to the jcarousel theming in the stylesheet - which starts on line 861.

Support hours: 9AM - 5PM EST, Mon - Fri

Follow us on: