Signin  Pricing  Examples  Support

Libraries > owlcarousel.settings.js

owlcarousel.settings.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE https://utahhumane.org/sites/all/modules/owlcarousel/includes/js/owlcarousel.settings.js


Libraries on utahhumane.org


jquery.once.js

jquery.colorbox-min.js

owl.carousel.min.js

colorbox_inline.js

colorbox.js

colorbox_style.js

googleanalytics.js

pets_saved.js

jquery.min.js

owlcarousel.settings.js

picturefill.min.js

picture.min.js

piwik.js

contextual.js

html5.js

respond.min.js

accordion.js

home-donation.js

pet-listing.js

script.js



Explore More


widgetkit-bdbf589f.js

k2.js

jquery-migrate.min.js

jquery.min.js

owlcarousel.settings.js
				
/**
 * @file
 * Initiate Owl Carousel.
 */

(function($) {

  Drupal.behaviors.owlcarousel = {
    attach: function(context, settings) {

      for (var carousel in settings.owlcarousel) {
        // Carousel instance.
        var owl = $('.' + carousel);

        // lazyLoad support.
        if (settings.owlcarousel[carousel].settings.lazyLoad) {
          var images = owl.find('img');

          $.each(images, function(i, image) {
            $(image).attr('data-src', $(image).attr('src'));
          });

          images.addClass('lazyOwl');
        }

        // Attach instance settings.
        if (!owl.hasClass('disabled')) {
          owl.owlCarousel(settings.owlcarousel[carousel].settings);
        }

        // Set an inline height if custom AJAX pagination is enabled;
        // otherwise replacement of carousel element causes scrolling effect.
        if (settings.owlcarousel[carousel].views.ajax_pagination) {
          var owlnav = $('.' + carousel);
          owlnav.parent().css('height', owlnav.height());

          var view = owlnav.parent().parent();
          var next = $(view).find('.pager-next a', context);
          var prev = $(view).find('.pager-previous a', context);

          // Attach Owl Carousel behaviors to pager elements.
          $(next).once('ajax', function() {
            $(next, context).click(function() {
              owlnav.trigger('owl.next');
            });
          });
          $(prev).once('ajax', function() {
            $(prev, context).click(function() {
              owlnav.trigger('owl.prev');
            });
          });
        }
      }
    }
  };

}(jQuery));


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z