js_thumb- not defined - tinny
Thumbnail ControlNav Pattern- thanks to @got 2 doodle
Carousel Slider as Navigation
Ver 2.0 -- upgrade flexslider to ver 2.0;
-- code changes as per suggestion by clem & extj, thx;
Looking around for a good slider widget, ends up with FlexSlider. Here is quote from the site:
Flexslider An awesome, fully responsive jQuery slider plugin.
XFlexSlider is a wrapper widget which allow Yii-er to have nice slider with easy. It supports sliding image - local or remote, html content from view, take a look you won't be disappointed.
- Tested in Yii-1.1.10
- JQuery core script
unzip content xflexslider.zip to /protected/extensions/
it also comes with a full yii scaffold site with xflexslider demo on homepage.
in your view file
$this->widget('ext.xflexslider.XFlexSlider',array( 'slides'=>array( //use content 'slide1' => array( 'id'=>'slide1', 'caption'=>'Captions and cupcakes. Winning combination.', 'content'=>'<img src="' . Yii::app()->request->baseUrl . '/images/demo-stuff/inacup_samoa.jpg" />', ), //use view 'slide2'=>array( 'caption'=>'This image is wrapped in a link!', 'view'=>'_slide2', ), ), 'flexsliderOptions'=>array( // 'animation' => "'slide'", // 'slideDirection' => 'vertical', 'mousewheel' => true, ), ));
demo from original plugin (removed)