Yii 2.0: yii2-backstretch

Create full background images and slideshows with JQuery Backstretch.
3 followers

Check GitHub for most recent updates https://github.com/linchpinstudios/yii2-backstretch

Jquery backstretch widget for Yii2.

Backstretch Website: http://srobbin.com/jquery-plugins/backstretch/

Requirements

Yii 2.*

Installation

Composer:

1) Add to your composer.json

"require": {
  // ...
  "linchpinstudios/yii2-backstretch": "*",
  // ...
},

2) Run

php composer.phar update

Usage

echo Backstrech::widget([
    'duration' => 3000,
    'fade' => 750,
    'clickEvent' => false,
    'images' => [
      ['image' => 'http://dl.dropbox.com/u/515046/www/outside.jpg'],
      ['image' => 'http://dl.dropbox.com/u/515046/www/garfield-interior.jpg'],
      ['image' => 'http://dl.dropbox.com/u/515046/www/cheers.jpg'],
    ],
  ]);

Resources

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet