Sha256: 0bc790eb6010287037b8d0159d46d7d8416e1f5570400141de406465fc7c6c1e

Contents?: true

Size: 1.2 KB

Versions: 25

Compression:

Stored size: 1.2 KB

Contents

//
$(document).ready(function () {

    var $carousel_div = $('#gallery3');

    $carousel_div.slick({
        slidesToShow: 1,
        slidesToScroll: 1,
        autoplay: false,
        fade: true,
        arrows: true,
        speed: 200,
        dots: false,
        infinite: true,
        asNavFor: '#gallery3_nav'
    });

    if (typeof(small_frames_dots) != 'undefined' && typeof(small_frames_slidesToShow) != 'undefined' && small_frames_dots !== undefined && small_frames_slidesToShow !== undefined) {
        $('#gallery3_nav').slick({
            slidesToShow: small_frames_slidesToShow,
            slidesToScroll: 1,
            asNavFor: '#gallery3',
            dots: small_frames_dots,
            //centerMode: true,
            arrows: false,
            focusOnSelect: true
        });

        setTimeout(function () {
            var $b = $("#gallery3_nav").find(".img-holder");
            //console.log($b);
            $b.bind({
                mouseenter: function () {
                    $(this).addClass("plusOpacity");
                },
                mouseleave: function () {
                    $(this).removeClass("plusOpacity");
                }
            })
        }, 100);
    }

});

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
c80_estate-0.1.0.39 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.38 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.37 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.36 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.35 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.34 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.33 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.32 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.31 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.30 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.29 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.28 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.27 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.26 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.25 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.24 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.23 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.22 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.21 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js
c80_estate-0.1.0.20 app/assets/javascript/c80_estate/backend/admin/shared/areas/gallery3.js