PageSourceSearch

https://knoxvillevetclinic.com/wp-content/plugins/blue-river-pet-care/js/blueriver_promotion.js

js knoxvillevetclinic.com collected 2026-10-09 23:03:50 UTC 1,591 bytes, 55 lines download raw bytes

1/**
2 * Blue River Promotions.
3 *
4 * @author Lifelearn
5 */
6 /* global Waypoint */
7 /* global imagesLoaded */
8 /* global nectar_theme_info */
9
10jQuery(document).ready(function($) {
11
12  "use strict";
13  /*-------------------------------------------------------------------------*/
14  /*	1.	Blue River Promotion Element
15  /*-------------------------------------------------------------------------*/
16    jQuery('.promotion-widget-carousel').owlCarousel({
17        loop:true,
18        nav:false,
19        dots: true,
20        margin:10,
21        autoHeight: true,
22        responsiveClass:true,
23        onInitialized: setOwlStageHeight,
24        onResized: setOwlStageHeight,
25        onTranslated: setOwlStageHeight,
26        responsive:{
27            0:{
28                items:1,
29                nav:true
30            },
31            600:{
32                items:1,
33                nav:false
34            },
35            1000:{
36                items:2,
37                nav:true,
38                loop:false
39            }
40        }
41    });
42
43    function setOwlStageHeight(event) {
44        //console.log(event.target);
45        var maxHeight = 0;
46        $('.promotion-widget-carousel .owl-item.active').each(function () { // LOOP THROUGH ACTIVE ITEMS
47            var thisHeight = parseInt( $(this).height());
48            maxHeight=(maxHeight>=thisHeight?maxHeight:thisHeight);
49        });
50        $('.promotion-widget-carousel').css('min-height', maxHeight + 35 );
51        $('.promotion-widget-carousel .owl-stage-outer').css('min-height', maxHeight + 35 ); // CORRECT DRAG-AREA SO BUTTONS ARE CLICKABLE
52    }
53
54
55});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.