Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | (function($, window, document, undefined) { |
| 2 | 'use strict'; |
||
| 3 | |||
| 4 | // init cubeportfolio |
||
| 5 | $('#js-grid-full-width').cubeportfolio({ |
||
| 6 | filters: '#js-filters-full-width', |
||
| 7 | loadMore: '#js-loadMore-full-width', |
||
| 8 | loadMoreAction: 'auto', |
||
| 9 | layoutMode: 'mosaic', |
||
| 10 | sortToPreventGaps: true, |
||
| 11 | defaultFilter: '*', |
||
| 12 | animationType: 'fadeOutTop', |
||
| 13 | gapHorizontal: 0, |
||
| 14 | gapVertical: 0, |
||
| 15 | gridAdjustment: 'responsive', |
||
| 16 | mediaQueries: [{ |
||
| 17 | width: 1500, |
||
| 18 | cols: 5 |
||
| 19 | }, { |
||
| 20 | width: 1100, |
||
| 21 | cols: 4 |
||
| 22 | }, { |
||
| 23 | width: 800, |
||
| 24 | cols: 3 |
||
| 25 | }, { |
||
| 26 | width: 480, |
||
| 27 | cols: 2 |
||
| 28 | }, { |
||
| 29 | width: 320, |
||
| 30 | cols: 1 |
||
| 31 | }], |
||
| 32 | caption: 'zoom', |
||
| 33 | displayType: 'lazyLoading', |
||
| 34 | displayTypeSpeed: 100, |
||
| 35 | |||
| 36 | // lightbox |
||
| 37 | lightboxDelegate: '.cbp-lightbox', |
||
| 38 | lightboxGallery: true, |
||
| 39 | lightboxTitleSrc: 'data-title', |
||
| 40 | lightboxCounter: '<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>', |
||
| 41 | }); |
||
| 42 | })(jQuery, window, document); |