2017 © Pedro Peláez
 

yii2-extension yii2-magnific-popup

JQuery magnific popup widget

image

porcelanosa/yii2-magnific-popup

JQuery magnific popup widget

  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 1 Versions
  • 33 % Grown

The README.md

yii2-magnific-popup

Widget is under development, (*1)

This widget is wrapper for awesome jQuery plugin Magnific Popup By Dmitry Semenov http://dimsemenov.com/plugins/magnific-popup/, (*2)

Magnific Popup is a responsive lightbox & dialog script with focus on performance and providing best experience for user with any device (for jQuery or Zepto.js)., (*3)

Installing

composer require porcelanosa/yii2-magnific-popup "master-dev", (*4)

Simple usage

in view file, (*5)

    <a href="original.jpg" title="Caption text"><img  src="/thumb_img.jpg" alt="Alt"></a>
use porcelanosa\magnificPopup\MagnificPopup;

echo MagnificPopup::widget(
    [
        'target' => '#mpup',
        'options' => [
            'delegate'=> 'a',
        ]
    ]
);


for gallery
```html


Alt Alt
```php echo MagnificPopup::widget( [ 'target' => '#mpup', 'options' => [ 'delegate'=> 'a', ], 'effect' => 'with-zoom' //for zoom effect ] );

The Versions

28/11 2015

dev-master

9999999-dev https://github.com/porcelanosa/yii2-magnific-popup

JQuery magnific popup widget

  Sources   Download

The Requires

 

by Alex Porcelanosa

yii2 jquery yii yii 2 magnific popup