Yii 1.1: coin-slider

CoinSliderWidget is wrapper for coin slide jquery plugin (JQuery Slider).
13 followers

Find more info on project page.

help @andrei_tofan

Requirements

Yii 1.1 or above

Installation

Copy the extracted files in protected/extensions

Usage

$this->widget('ext.coinSlider.CoinSliderWidget', array(
    'items' => array(
        array(
            'image' => 'http://workshop.rs/projects/coin-slider/games/prince_of_persia.jpg',
            'alt' => 'Price of Persia',
            'url' => 'http://www.princeofpersiagame.com/',
            'info' => array(
                'title' => 'Demo',
                'text' => 'This is a demo.'
            )
        ),
        array(// without description
            'image' => 'http://workshop.rs/projects/coin-slider/games/brink.jpg',
            'alt' => 'Price of Persia',
            'url' => 'http://www.princeofpersiagame.com/'
        ),
        array(
            'image' => 'http://workshop.rs/projects/coin-slider/games/games/borderlands.jpg',
            'alt' => 'Price of Persia',
            'url' => 'http://www.princeofpersiagame.com/',
            'info' => array(
                'title' => 'Demo',
                'text' => 'This is a demo.'
            )
        )
    )
));

Resources

Total 3 comments

#9452 report it
zipzap at 2012/08/12 01:41pm
resize

Me too ,any width and height properties?

#9164 report it
Scott Deagan at 2012/07/25 10:49am
Resizing the widget

Is there any way to resize the coin-slider widget? I've look as the coin-slider-container CSS defined in 63, but this doesn't change the size of the images (the widget is resized, the images remain the same size).

#8498 report it
sebas at 2012/06/07 12:25pm
Nice extension!!

This is exactly what I was looking for!

Leave a comment

Please to leave your comment.

Create extension
Downloads