Subversion Repositories Integrator Subversion

Rev

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-mosaic').cubeportfolio({
6
        filters: '#js-filters-mosaic',
7
        loadMore: '#js-loadMore-mosaic',
8
        loadMoreAction: 'click',
9
        layoutMode: 'mosaic',
10
        sortToPreventGaps: true,
11
        mediaQueries: [{
12
            width: 1500,
13
            cols: 5
14
        }, {
15
            width: 1100,
16
            cols: 4
17
        }, {
18
            width: 800,
19
            cols: 3
20
        }, {
21
            width: 480,
22
            cols: 2
23
        }, {
24
            width: 320,
25
            cols: 1
26
        }],
27
        defaultFilter: '*',
28
        animationType: 'quicksand',
29
        gapHorizontal: 0,
30
        gapVertical: 0,
31
        gridAdjustment: 'responsive',
32
        caption: 'zoom',
33
        displayType: 'sequentially',
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);