PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
bdthemes-element-pack-lite
/
assets
/
js
/
widgets
(function($, elementor) { 'use strict'; var widgetAccordion = function($scope, $) { var $accrContainer = $scope.find('.bdt-accordion-container'), $accordion = $accrContainer.find('.bdt-accordion'); if (!$accrContainer.length) { return; } var $settings = $accordion.data('settings'); var activeHash = $settings.activeHash; var hashTopOffset = $settings.hashTopOffset; var hashScrollspyTime = $settings.hashScrollspyTime; var activeScrollspy = $settings.activeScrollspy; if (activeScrollspy === null || typeof activeScrollspy === 'undefined'){ activeScrollspy = 'no'; } function hashHandler($accordion, hashScrollspyTime, hashTopOffset) { if (window.location.hash) { if ($($accordion).find('[data-title="' + window.location.hash.substring(1) + '"]').length) { var hashTarget = $('[data-title="' + window.location.hash.substring(1) + '"]') .closest($accordion) .attr('id'); // var classes = $(this).parent().closest('div').attr('class').split(' '); // this gets the parent classes. // var hashTarget = $('[data-title="' + window.location.hash.substring(1) + '"]').parent('div'); if(activeScrollspy == 'yes'){ $('html, body').animate({ easing: 'slow', scrollTop: $('#'+hashTarget).offset().top - hashTopOffset }, hashScrollspyTime, function() { //#code }).promise().then(function() { bdtUIkit.accordion($accordion).toggle($('[data-title="' + window.location.hash.substring(1) + '"]').data('accordion-index'), false); }); }else{ bdtUIkit.accordion($accordion).toggle($('[data-title="' + window.location.hash.substring(1) + '"]').data('accordion-index'), true); } } } } if (activeHash == 'yes') { $(window).on('load', function() { if(activeScrollspy == 'yes'){ hashHandler($accordion, hashScrollspyTime, hashTopOffset); }else{ bdtUIkit.accordion($accordion).toggle($('[data-title="' + window.location.hash.substring(1) + '"]').data('accordion-index'), false); } }); $($accordion).find('.bdt-accordion-title').off('click').on('click', function(event) { window.location.hash = ($.trim($(this).attr('data-title'))); hashHandler($accordion, hashScrollspyTime = 1000, hashTopOffset); }); $(window).on('hashchange', function(e) { hashHandler($accordion, hashScrollspyTime = 1000, hashTopOffset); }); } }; jQuery(window).on('elementor/frontend/init', function() { elementorFrontend.hooks.addAction('frontend/element_ready/bdt-accordion.default', widgetAccordion); }); }(jQuery, window.elementorFrontend));
[-] ep-step-flow.js
[edit]
[-] ep-tutor-lms.min.js
[edit]
[-] ep-business-hours.js
[edit]
[-] ep-step-flow.min.js
[edit]
[-] ep-logo-grid.js
[edit]
[-] ep-accordion.min.js
[edit]
[-] ep-contact-form.min.js
[edit]
[-] ep-scroll-button.min.js
[edit]
[-] ep-image-accordion.js
[edit]
[+]
..
[-] ep-toggle.min.js
[edit]
[-] ep-image-compare.js
[edit]
[-] ep-contact-form.js
[edit]
[-] ep-image-accordion.min.js
[edit]
[-] ep-image-magnifier.min.js
[edit]
[-] ep-cookie-consent.min.js
[edit]
[-] ep-progress-pie.js
[edit]
[-] ep-logo-grid.min.js
[edit]
[-] ep-accordion.js
[edit]
[-] ep-toggle.js
[edit]
[-] ep-image-compare.min.js
[edit]
[-] ep-tutor-lms.js
[edit]
[-] ep-progress-pie.min.js
[edit]
[-] ep-slider.min.js
[edit]
[-] ep-image-magnifier.js
[edit]
[-] ep-cookie-consent.js
[edit]
[-] ep-panel-slider.js
[edit]
[-] ep-scroll-button.js
[edit]
[-] ep-slider.js
[edit]
[-] ep-panel-slider.min.js
[edit]
[-] ep-business-hours.min.js
[edit]