I have the jCarousel module on my Drupal-6 website. On my page I have the following code:
<?php
$items = array (
  0 => '<img src="http://dummyimage.com/100x100/000/fff&text=Bio" />',
  1 => '<img src="http://dummyimage.com/100x100/000/fff&text=Bio" />',
      ....
);
$options = array (
  'wrap' => 'circular',
  'auto' => '5',
);
print theme('jcarousel', $items, $options);
?>
The problem is the when the page originally loads, It loads the images in a list and then puts them into a carousel. How can I make it so that the images load dire开发者_运维技巧ctly into a carousel instead of displaying as a list first?
Without seeing the actual full code, I'm guessing a simple 'overflow:hidden' could solve the problem. As far as I know the carousel items always need to be in a list, you just don't want them to display outside of the container while loading?
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论