2017 © Pedro Peláez
 

yii2-extension yii2-magnific-popup

JQuery magnific popup widget

image

arif/yii2-magnific-popup

JQuery magnific popup widget

  • Friday, June 10, 2016
  • by arif
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % 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 arif/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 arif\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' //'fade', 'with-zoom', 'zoom-in', 'newspaper', 'move-horizontal', 'move-from-top', '3d-unfold', 'zoom-out' ] );

The Versions

10/06 2016

dev-master

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

JQuery magnific popup widget

  Sources   Download

The Requires

 

by Avatar arif

yii2 jquery yii yii 2 magnific popup