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: learn-dash-course-list.js
var LearnDash = function ($scope, $) { var card = $scope.find('.eael-3d-hover .eael-learn-dash-course'), wrap = $scope.find('.eael-learndash-wrapper'), $layout_mode = wrap.data('layout-mode'); hover3D = (wrap.data('3d-hover') !== undefined) ? 'true' : 'false'; let $nomore_item_text = wrap.data("nomore-item-text"); let $next_page = wrap.data("next-page"); if ($layout_mode === 'masonry' && !isEditMode) { var $settings = { itemSelector: ".eael-learn-dash-course", percentPosition: true, masonry: { columnWidth: ".eael-learn-dash-course" } }; // init isotope $ld_gallery = $(".eael-learndash-wrapper", $scope).isotope($settings); // layout gal, while images are loading $ld_gallery.imagesLoaded().progress(function() { $ld_gallery.isotope("layout"); }); } if(hover3D) { card.map(function(index, item) { $(item).on("mousemove", function(e) { var mX = e.clientX, mY = e.clientY, winHalfWidth = window.innerWidth/2, winHalfHeight = window.innerHeight/2 , xdeg = (mX - winHalfWidth)/winHalfWidth, ydeg = (mY - winHalfHeight)/winHalfHeight; $(this).css({ transition: '0ms', transform: 'rotateX('+(ydeg * 10)+'deg) rotateY('+(xdeg * 10)+'deg)' }); }); window.ondevicemotion = function(event) { var acX = event.accelerationIncludingGravity.x, acY = event.accelerationIncludingGravity.y, acZ = event.accelerationIncludingGravity.z, xdeg = acX/5, ydeg = acY/5; $(this).css({ transform: 'rotateX('+(ydeg * 10)+'deg) rotateY('+(xdeg * 10)+'deg)' }); }; $(item).on('mouseout', function(){ $(this).css({ transition: 'transform 300ms linear 0s', transform: 'rotateX(0deg) rotateY(0deg)' }); }); }); } $scope.on("click", ".eael-ld-course-list-load-more", function (e) { e.preventDefault(); $('.eael-learn-dash-course.page-' + $next_page, $scope).removeClass('eael-d-none-lite').addClass('eael-d-block-lite'); wrap.attr("data-next-page", $next_page + 1); $(".eael-learndash-wrapper", $scope).isotope("layout"); if( $('.eael-learn-dash-course.page-' + $next_page, $scope).hasClass('eael-last-ld-course-list-item') ) { $(".eael-ld-course-list-load-more", $scope).html( $nomore_item_text ).fadeOut('1500'); } $next_page++; }); }; jQuery(window).on("elementor/frontend/init", function() { elementorFrontend.hooks.addAction( "frontend/element_ready/eael-learn-dash-course-list.default", LearnDash ); });
Save