PageSourceSearch

https://dancesafe.org/wp-content/plugins/woocommerce-products-filter/ext/slideout/js/slideout.js

js dancesafe.org collected 2026-09-24 08:47:41 UTC 2,708 bytes, 58 lines download raw bytes

1"use strict";
2jQuery(document).ready(function() {
3    jQuery(function () {
4        
5        if(!document.querySelector('.woof-slide-out-div')){
6            return;
7        }
8        
9        document.querySelector('.woof-slide-out-div').removeAttribute('style');
10        jQuery('.woof-slide-out-div').css('opacity', 0.95);
11        jQuery.each(jQuery('.woof-slide-out-div'), function(i,item){
12            var key=jQuery(item).data("key");
13
14            jQuery(item).tabSlideOut({
15                tabHandle: '.woof-handle.'+key, //class of the element that will be your tab
16                tabImage: jQuery(item).data('image'), //link to the image for the tab *required*
17                tabImageHeight: jQuery(item).data('image_h') + 'px', //height of tab image *required*
18                tabImageWidth: jQuery(item).data('image_w') + 'px', //width of tab image *required*    
19                tabLocation: jQuery(item).data('location'), //side of screen where tab lives, top, right, bottom, or left
20                bounceSpeed: jQuery(item).data('speed'), //speed of animation
21                action: jQuery(item).data('action'), //options: 'click' or 'hover', action to trigger animation
22                offset: jQuery(item).data('toppos'), //position from the top
23               // fixedPosition: true, //options: true makes it stick(fixed position) on scroll
24                onLoadSlideOut: jQuery(item).data('onloadslideout')
25            });
26
27            if(woof_slideout_screenHeight()-jQuery(item).position().top<jQuery(item).height()){
28                var height=0;
29                if(jQuery(item).data('location')=="top"|| jQuery(item).data('location')=="bottom"){
30                    height=woof_slideout_screenHeight()- jQuery('.woof-handle.'+key).height() -10;
31                }else{
32                    height=woof_slideout_screenHeight()-jQuery(item).position().top-15;
33                }
34                if(height){
35                    jQuery(item).find(".woof-slide-content").css("height",height);
36                }                
37            } 
38            if(woof_slideout_screenWidth()<=jQuery(item).width()){
39                var width=0;
40                if(jQuery(item).data('location')=="right"|| jQuery(item).data('location')=="left"){
41                    
42                    var width=woof_slideout_screenWidth()- jQuery('.woof-handle.'+key).width()-20;
43                    jQuery(item).find(".woof-slide-content").css("width",width);
44                }
45                
46            }
47           
48          
49        });
50
51    });
52});    
53function woof_slideout_screenHeight(){
54    return  jQuery(window).height();
55}
56function woof_slideout_screenWidth(){
57    return jQuery(window).width();
58}

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.