wowslider

Widget to create a wow slider images
4 followers

It creates wowslider.

Requirements

Tested on Yii 1.1.13
Jquery: v1.4.4 or higher

Installation

Extract the release file under protected/extensions.

copy images under 'wowslider/img' to your project's images folder

Usage

$this->widget('application.extensions.wowslider.WowSlider', array(
            'sliderid' => 'wowslider-container1', // required slide unique Id
            'data_arr' => $image_arr, // required data array
            'effect' => 'fade', // optional stack_vertical|basic|blast|blinds|blur|fade|fly|kenburns|rotate|slices|squares|stack
            'duration' => 2000, // optional in milisecond (default 2000)
            'delay' => 2000, // optional in milisecond (default 2000)
            'width' => 960, // optional (default 960)
            'height' => 360, // optional (default 360)
            'autoPlay' => true, // optional true|false (default true)
            'stopOnHover' => false, // optional true|false (default false)
            'loop' => false, // optional true|false (default false)
            'bullets' => true, // optional true|false (default true)
            'caption' => true, // optional true|false (default true)
            'controls' => true, // optional true|false (default true)
            'loading' => '', // optional loading image url (default /images/loader.gif)
        ));
  • data_arr - here your data array must be in this format
$image_url = Yii::app()->baseUrl . '/images/wowslider/';
        $image_arr[] = array('title' => 'Bream bay', 'desc' => 'Bream Bay From The Brynderwyn Ranges', 'image' => $image_url.'bream_bay.jpg');
        $image_arr[] = array('title' => 'dunes and harbour', 'desc' => 'Mangawhai sand dunes are a dominant feature of the harbour.', 'image' => $image_url.'dunes_and_harbour.jpg');

Total 1 comment

#13759 report it
trond at 2013/06/23 12:59pm
Commercial use

Looking at the wowslider website, it seems you need to register to use this technology for a commercial website. Or is this only relevant if you use the GUI app?

Leave a comment

Please to leave your comment.

Create extension
Downloads