SILENT KILLERPanel

Current Path: > home > transcarter > > www > wp-content > themes > bridge > js > > plugins >


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter//www/wp-content/themes/bridge/js//plugins/

NameTypeSizeLast ModifiedActions
Chart.min.js File 180134 bytes March 10 2023 20:42:12.
ScrollToPlugin.min.js File 2532 bytes March 10 2023 20:42:12.
SmoothScroll.js File 11275 bytes March 10 2023 20:42:12.
TweenLite.min.js File 25451 bytes March 10 2023 20:42:12.
abstractBaseClass.js File 3203 bytes March 10 2023 20:42:12.
bigtext.js File 5929 bytes March 10 2023 20:42:12.
bootstrap.carousel.js File 7469 bytes March 10 2023 20:42:12.
counter.js File 1252 bytes March 10 2023 20:42:12.
doubletaptogo.js File 2353 bytes March 10 2023 20:42:12.
easypiechart.js File 4544 bytes March 10 2023 20:42:12.
fluidvids.min.js File 2481 bytes July 24 2025 01:50:54.
html5.js File 2001 bytes March 10 2023 20:42:12.
imagesloaded.js File 5559 bytes March 10 2023 20:42:12.
infinitescroll.min.js File 25819 bytes March 10 2023 20:42:12.
jplayer.min.js File 45078 bytes March 10 2023 20:42:12.
jquery-1.10.2.min.js File 93063 bytes March 10 2023 20:42:12.
jquery.appear.js File 2069 bytes March 10 2023 20:42:12.
jquery.carouFredSel-6.2.1.js File 91084 bytes March 10 2023 20:42:12.
jquery.carouFredSel-6.2.1.min.js File 62633 bytes March 10 2023 20:42:12.
jquery.countdown.js File 18296 bytes March 10 2023 20:42:12.
jquery.easing.1.3.js File 5368 bytes March 10 2023 20:42:12.
jquery.event.move.js File 14709 bytes March 10 2023 20:42:12.
jquery.fitvids.js File 6125 bytes March 10 2023 20:42:12.
jquery.flexslider-min.js File 22342 bytes March 10 2023 20:42:12.
jquery.fullPage.min.js File 67918 bytes March 10 2023 20:42:12.
jquery.isotope.min.js File 35624 bytes March 10 2023 20:42:12.
jquery.justifiedGallery.min.js File 17827 bytes March 10 2023 20:42:12.
jquery.mousewheel.min.js File 1392 bytes March 10 2023 20:42:12.
jquery.multiscroll.min.js File 13427 bytes March 10 2023 20:42:12.
jquery.nicescroll.min.js File 64524 bytes March 10 2023 20:42:12.
jquery.prettyPhoto.js File 21567 bytes March 10 2023 20:42:12.
jquery.sticky-kit.min.js File 2843 bytes March 10 2023 20:42:12.
jquery.stretch.js File 4153 bytes March 10 2023 20:42:12.
jquery.stylish-select.min.js File 8275 bytes March 10 2023 20:42:12.
jquery.touchSwipe.min.js File 11805 bytes March 10 2023 20:42:12.
jquery.twentytwenty.js File 3769 bytes March 10 2023 20:42:12.
jquery.waitforimages.js File 2091 bytes March 10 2023 20:42:12.
lemmon-slider.js File 13110 bytes March 10 2023 20:42:12.
lemmon-slider.min.js File 6059 bytes March 10 2023 20:42:12.
mixitup.js File 80986 bytes March 10 2023 20:42:12.
modernizr.min.js File 2730 bytes March 10 2023 20:42:12.
owl.carousel.min.js File 42837 bytes March 10 2023 20:42:12.
packery-mode.pkgd.min.js File 13618 bytes March 10 2023 20:42:12.
qode-like.js File 1034 bytes March 10 2023 20:42:12.
qode-like.min.js File 592 bytes March 10 2023 20:42:12.
rangeslider.min.js File 8168 bytes March 10 2023 20:42:12.
skrollr.js File 21784 bytes March 10 2023 20:42:12.
smoothPageScroll.js File 993 bytes March 10 2023 20:42:12.
smoothPageScroll.min.js File 687 bytes March 10 2023 20:42:12.
swiper.min.js File 125617 bytes March 10 2023 20:42:12.
typed.js File 6571 bytes March 10 2023 20:42:12.
waypoints.min.js File 9028 bytes March 10 2023 20:42:12.

Reading File: /home/transcarter//www/wp-content/themes/bridge/js//plugins//jquery.twentytwenty.js

(function($){

  $.fn.twentytwenty = function(options) {
    var options = $.extend({default_offset_pct: 0.5, orientation: 'horizontal'}, options);
    return this.each(function() {

      var sliderPct = options.default_offset_pct;
      var container = $(this);
      var sliderOrientation = options.orientation;
      var beforeDirection = (sliderOrientation === 'vertical') ? 'down' : 'left';
      var afterDirection = (sliderOrientation === 'vertical') ? 'up' : 'right';
      
      
      container.wrap("<div class='twentytwenty-wrapper twentytwenty-" + sliderOrientation + "'></div>");
      container.append("<div class='twentytwenty-overlay'></div>");
      var beforeImg = container.find("img:first");
      var afterImg = container.find("img:last");
      container.append("<div class='twentytwenty-handle'></div>");
      var slider = container.find(".twentytwenty-handle");
      slider.append("<span class='twentytwenty-" + beforeDirection + "-arrow'></span>");
      slider.append("<span class='twentytwenty-" + afterDirection + "-arrow'></span>");
      container.addClass("twentytwenty-container");
      beforeImg.addClass("twentytwenty-before");
      afterImg.addClass("twentytwenty-after");
      
      var overlay = container.find(".twentytwenty-overlay");
      overlay.append("<div class='twentytwenty-before-label'></div>");
      overlay.append("<div class='twentytwenty-after-label'></div>");

      var calcOffset = function(dimensionPct) {
        var w = beforeImg.width();
        var h = beforeImg.height();
        return {
          w: w+"px",
          h: h+"px",
          cw: (dimensionPct*w)+"px",
          ch: (dimensionPct*h)+"px"
        };
      };

      var adjustContainer = function(offset) {
      	if (sliderOrientation === 'vertical') {
      	  beforeImg.css("clip", "rect(0,"+offset.w+","+offset.ch+",0)");
      	}
      	else {
          beforeImg.css("clip", "rect(0,"+offset.cw+","+offset.h+",0)");
    	}
        container.css("height", offset.h);
      };

      var adjustSlider = function(pct) {
        var offset = calcOffset(pct);
        slider.css((sliderOrientation==="vertical") ? "top" : "left", (sliderOrientation==="vertical") ? offset.ch : offset.cw);
        adjustContainer(offset);
      }

      $(window).on("resize.twentytwenty", function(e) {
        adjustSlider(sliderPct);
      });

      var offsetX = 0;
      var offsetY = 0;
      var imgWidth = 0;
      var imgHeight = 0;
      
      slider.on("movestart", function(e) {
        if (((e.distX > e.distY && e.distX < -e.distY) || (e.distX < e.distY && e.distX > -e.distY)) && sliderOrientation !== 'vertical') {
          e.preventDefault();
        }
        else if (((e.distX < e.distY && e.distX < -e.distY) || (e.distX > e.distY && e.distX > -e.distY)) && sliderOrientation === 'vertical') {
          e.preventDefault();
        }
        container.addClass("active");
        offsetX = container.offset().left;
        offsetY = container.offset().top;
        imgWidth = beforeImg.width(); 
        imgHeight = beforeImg.height();          
      });

      slider.on("moveend", function(e) {
        container.removeClass("active");
      });

      slider.on("move", function(e) {
        if (container.hasClass("active")) {
          sliderPct = (sliderOrientation === 'vertical') ? (e.pageY-offsetY)/imgHeight : (e.pageX-offsetX)/imgWidth;
          if (sliderPct < 0) {
            sliderPct = 0;
          }
          if (sliderPct > 1) {
            sliderPct = 1;
          }
          adjustSlider(sliderPct);
        }
      });

      container.find("img").on("mousedown", function(event) {
        event.preventDefault();
      });

      $(window).trigger("resize.twentytwenty");
    });
  };

})(jQuery);

SILENT KILLER Tool