You are here

function theme_views_slideshow_jcarousel in Views Slideshow 5

1 theme call to theme_views_slideshow_jcarousel()
theme_views_slideshow_slideshow in ./views_slideshow.module
Display the slideshow items in a div w/ jquery

File

./views_slideshow.module, line 463

Code

function theme_views_slideshow_jcarousel($items, $div = '', $skin = NULL) {
  if (sizeof($items)) {
    if (!isset($skin)) {
      $skin = variable_get('views_slideshow_jcarousel_skin', VIEWS_SLIDESHOW_JCAROUSEL_SKIN_DEFAULT);
    }
    $output .= "\n" . '<ul id="views_slideshow_jcarousel_' . $div . '" class="jcarousel-skin-' . $skin . '">' . "\n";
    $output .= '  <li>';
    $output .= implode("</li>\n\n  <li>", $items);
    $output .= "</li></ul>\n";
  }
  return $output;
}