yii2-backstretch Create full background images and slideshows with JQuery Backstretch.

  1. Requirements
  2. Installation
  3. Usage
  4. Resources
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

1 0
4 followers
0 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Developed by: Linchpin
Created on: Jul 9, 2014
Last updated: 10 years ago

Related Extensions