golden hour
/home/godaofbq/hardchambers.com/wp-content/plugins/essential-addons-elementor/src/js/view
⬆️ Go Up
Upload
File/Folder
Size
Actions
.htaccess
127 B
Del
OK
adv-google-map.js
17.84 KB
Del
OK
advanced-menu.js
11.31 KB
Del
OK
advanced-search.js
14.73 KB
Del
OK
ajax-post-search.js
1.14 KB
Del
OK
content-timeline.js
7.93 KB
Del
OK
counter.js
789 B
Del
OK
data-table.js
510 B
Del
OK
dynamic-filter-gallery.js
1.56 KB
Del
OK
fancy-chart.js
1.02 KB
Del
OK
flip-carousel.js
1.58 KB
Del
OK
image-hotspots.js
3.03 KB
Del
OK
image-scroller.js
1.08 KB
Del
OK
img-comparison.js
2 KB
Del
OK
instagram-gallery.js
4.21 KB
Del
OK
interactive-cards.js
1.42 KB
Del
OK
learn-dash-course-list.js
3.03 KB
Del
OK
lightbox.js
6.26 KB
Del
OK
login-register.js
23.57 KB
Del
OK
logo-carousel.js
7.83 KB
Del
OK
mailchimp.js
2.59 KB
Del
OK
multicolumn-pricing-table.js
1.62 KB
Del
OK
offcanvas.js
376 B
Del
OK
one-page-navigation.js
4.67 KB
Del
OK
post-carousel.js
7 KB
Del
OK
post-list.js
6.54 KB
Del
OK
progress-bar.js
468 B
Del
OK
section-parallax.js
8.5 KB
Del
OK
section-particles.js
4.75 KB
Del
OK
smooth-animation.js
23.66 KB
Del
OK
sphere-photo-viewer.js
967 B
Del
OK
stacked-cards.js
9.16 KB
Del
OK
team-member-carousel.js
5.7 KB
Del
OK
testimonial-slider.js
7.41 KB
Del
OK
toggle.js
3.18 KB
Del
OK
twitter-feed-carousel.js
7.66 KB
Del
OK
woo-account-dashboard.js
2.21 KB
Del
OK
woo-checkout-pro.js
17.02 KB
Del
OK
woo-cross-sells.js
1.9 KB
Del
OK
woo-product-slider.js
5.99 KB
Del
OK
Edit: img-comparison.js
var ImageComparisonHandler = function ($scope, $) { var $img_comp = $(".eael-img-comp-container", $scope); var $options = { default_offset_pct: $img_comp.data("offset") || 0.7, orientation: $img_comp.data("orientation") || "horizontal", before_label: $img_comp.data("before_label") || "Before", after_label: $img_comp.data("after_label") || "After", no_overlay: $img_comp.data("overlay") == "yes" ? false : true, move_slider_on_hover: $img_comp.data("onhover") == "yes" ? true : false, move_with_handle_only: true, click_to_move: $img_comp.data("onclick") == "yes" ? true : false }; var $tabContainer = $('.eael-advance-tabs'), nav = $tabContainer.find('.eael-tabs-nav li'), tabContent = $tabContainer.find('.eael-tabs-content > div'); nav.on('click', function() { var currentContent = tabContent.eq($(this).index()), $imagCompExist = $(currentContent).find('.eael-img-comp-container'); if($imagCompExist.length) { $img_comp.imagesLoaded().done(function () { $img_comp.find('div').remove(); $img_comp.find('img').removeClass('twentytwenty-before twentytwenty-after').removeAttr('style'); var container = $img_comp.closest('.elementor-widget-container'); if ( container.length < 1 ) { container = $img_comp.closest('.elementor-widget-eael-image-comparison'); } container.html($img_comp); $img_comp.eatwentytwenty($options); }); } }); $img_comp.imagesLoaded().done(function () { $img_comp.find('div').remove(); $img_comp.find('img').removeClass('twentytwenty-before twentytwenty-after').removeAttr('style'); var container = $img_comp.closest('.elementor-widget-container'); if ( container.length < 1 ) { container = $img_comp.closest('.elementor-widget-eael-image-comparison'); } container.html($img_comp); $img_comp.eatwentytwenty($options); }); }; jQuery(window).on("elementor/frontend/init", function () { elementorFrontend.hooks.addAction( "frontend/element_ready/eael-image-comparison.default", ImageComparisonHandler ); });
Save