Hello,

I have success to skin the jcarousel, but I have a problem only in firefox, the last image

  • is not displayed because the
      width (generated by jcarousel) is too small. It defaults 1px. If I adjust it in firebug it well works.

      How can I do to add a class like "last" to my last

    • or increase the ul width of 1px? I've looked at the js code but I don't really understand this language.

      I'd like to have something like that

      <ul class="jcarousel-processed jcarousel-list jcarousel-list-horizontal" id="viewscarousel-carousel-central-block-1" style="width: 2518px; left: -1381px;"><li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-1 jcarousel-item-1-horizontal" jcarouselindex="1">  
         <li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-1 jcarousel-item-1-horizontal" jcarouselindex="1"> ...</li>
         <li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-2 jcarousel-item-2-horizontal" jcarouselindex="2"> ...</li>
         <li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-3 jcarousel-item-3-horizontal" jcarouselindex="3"> ...</li>
         <li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-4 jcarousel-item-4-horizontal" jcarouselindex="4 last"> ...</li>
      </ul>
      

      Could you help me, please.

      Thanks in advance.

  • Comments

    quicksketch’s picture

    Status: Active » Closed (fixed)

    You can override the theme_jcarousel() function by copying it into your theme's template.php file, renaming "theme_" to the name of your theme and then clearing your Drupal caches. Then you can make the HTML output whatever you want.

    I'm closing this issue directly due to its age. Custom theming questions really aren't appropriate for a module issue queue any way.