PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom
/
wp-content
/
themes
/
sydney-pro-ii
/
js
/
modules
(function ($) { 'use strict'; var $window = $(window); $window.on('elementor/frontend/init', function () { var gloablTooltipOptions = []; var AdvancedTooltip = elementorModules.frontend.handlers.Base.extend({ onInit: function onInit() { elementorModules.frontend.handlers.Base.prototype.onInit.apply(this, arguments); if (this.$element.hasClass('syd-has-tooltip-enable')) { this.$element.append("<span class='syd-has-tooltip-content'></span>"); this.run(); } }, getReadySettings: function getReadySettings() { var settings = { trigger: this.getElementSettings('tooltip_trigger'), content: this.getElementSettings('tooltip_content'), animation: this.getElementSettings('tooltip_animation'), duration: this.getElementSettings('tooltip_duration') || 500, showArrow: this.getElementSettings('tooltip_arrow') || false, position: this.getElementSettings('tooltip_position') }; return $.extend({}, settings); }, onElementChange: function onElementChange(e) { if (this.$element.hasClass('syd-has-tooltip-enable')) { var style_controls = ['syd_tooltip_enable', 'tooltip_content', 'tooltip_position', 'tooltip_arrow', 'tooltip_duration', 'tooltip_size', 'tooltip_animation']; if (style_controls.includes(e)) { if (e == 'syd_tooltip_enable' && this.$element.find('.syd-has-tooltip-content').length <= 0) { this.$element.append("<span class='syd-has-tooltip-content'></span>"); this.run(); } gloablTooltipOptions = this.getReadySettings(); } } else { this.$element.find('.syd-has-tooltip-content').remove(); } }, run: function run() { var $scope = this.$element; if (this.$element.hasClass("syd-has-tooltip-enable")) { gloablTooltipOptions = this.getReadySettings(); var content = $scope.find('.syd-has-tooltip-content'); content.html($.parseHTML(gloablTooltipOptions.content)); content.css('animation-duration', gloablTooltipOptions.duration + 'ms'); content.addClass(gloablTooltipOptions.animation); if (!gloablTooltipOptions.showArrow) { content.addClass('no-arrow'); } if (gloablTooltipOptions.trigger == 'click') { this.$element.on('click', function () { if (content.hasClass('show')) { content.removeClass('show'); } else { content.addClass('show'); } }); } else if (gloablTooltipOptions.trigger == 'hover') { this.$element.on('mouseenter', function () { content.addClass('show'); }); this.$element.on('mouseleave', function () { content.removeClass('show'); }); } } } }); elementorFrontend.hooks.addAction('frontend/element_ready/widget', function ($scope) { elementorFrontend.elementsHandler.addHandler(AdvancedTooltip, { $element: $scope }); }); }); })(jQuery);
[+]
..
[+]
src
[-] ajax-search.js
[edit]
[-] ajax-search.min.js
[edit]
[-] animation-effects.js
[edit]
[-] animation-effects.min.js
[edit]
[-] anime.min.js
[edit]
[-] elementor-custom-css.js
[edit]
[-] elementor-custom-css.min.js
[edit]
[-] live-chat.js
[edit]
[-] live-chat.min.js
[edit]
[-] multistep-checkout.js
[edit]
[-] multistep-checkout.min.js
[edit]
[-] page-header-parallax.js
[edit]
[-] page-header-parallax.min.js
[edit]
[-] particles.js
[edit]
[-] particles.min.js
[edit]
[-] reading-progress.js
[edit]
[-] reading-progress.min.js
[edit]
[-] sydney-reviews-advanced.js
[edit]
[-] sydney-reviews-advanced.min.js
[edit]
[-] tooltips.js
[edit]
[-] tooltips.min.js
[edit]
[-] .htaccess.disabled
[edit]