linchpinstudios/yii2-backstretch

Jquery Backstrech Plugin for the Yii2 framework

Installs: 1 299

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 3

Forks: 5

Open Issues: 0

Type:yii2-extension

v0.1-beta 2014-07-08 22:56 UTC

This package is not auto-updated.

Last update: 2024-11-19 03:36:04 UTC


README

Jquery backstretch widget for Yii2.

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

Installation

Composer:

1) Add to your composer.json
``` "require": { // ... "linchpinstudios/yii2-backstretch": "*", // ... }, ```
2) Run
``` php composer.phar update ```

Usage

1) Include Widget at top of page
```php use linchpinstudios/backstretch; ```
2) Call Widget
```php 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'], ], ]); ?> ```