Thumbnails show up as "undefined"
-
Hi. I’m using WP 3.5.1
When I enable controlNav:”thumbnails” in the captain-slider.php, I get thumbnails below my slider, but they are all undefined. I would like to have thumbnails as my navigation.
Setup: For my slides, I have added a Slide Image, a caption, and there is also a video embed code in the slide. My slides all look great (thanks!), but I’d like to use thumbnails instead of the grey circles.
Here is my captain-slide.php jquery info:
jQuery(window).load(function() { jQuery(".flexslider") .fitVids() .flexslider({ animation: '<?php if ( $effect == 'fade' ) { echo 'fade'; } else { echo 'slide'; } ?>', // Specify sets like: 'fade' or 'slide' direction: '<?php if ( $effect == 'slideh' ) { echo 'horizontal'; } else { echo 'vertical'; } ?>', slideshow: <?php if ( 1 == $automatic ) { echo 'false'; } else { echo 'true'; } ?>, controlNav: <?php if ( 1 == $controlnav ) { echo 'false'; } else { echo 'true'; } ?>, directionNav: <?php if ( 1 == $arrownav ) { echo 'false'; } else { echo 'true'; } ?>, slideshowSpeed: <?php echo $slidespeed; ?>, animationSpeed: <?php echo $anispeed; ?>, useCSS: true, animationLoop: true, smoothHeight: true, selector: "ul.slides > li", controlNav: "thumbnails" }); });
- The topic ‘Thumbnails show up as "undefined"’ is closed to new replies.