| Server IP : 43.153.74.48 / Your IP : 216.73.216.28 Web Server : LiteSpeed System : Linux VM-0-13-ubuntu 5.15.0-113-generic #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024 x86_64 User : www ( 1002) PHP Version : 8.1.29 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/stainlesstint.com/wp-content/themes/woodmart/js/scripts/elements/ |
Upload File : |
!function(d){d.each(["frontend/element_ready/wd_image_hotspot.default"],function(o,t){woodmartThemeModule.wdElementorAddAction(t,function(){woodmartThemeModule.imageHotspot()})}),woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.imageHotspot()}),woodmartThemeModule.imageHotspot=function(){d(".wd-image-hotspot").each(function(){var t=d(this),o=t.find(".hotspot-btn");!t.parents(".wd-image-hotspot-wrapper").hasClass("hotspot-action-click")&&1024<woodmartThemeModule.$window.width()||(o.on("click",function(){return t.hasClass("hotspot-opened")?t.removeClass("hotspot-opened"):(t.addClass("hotspot-opened"),t.siblings().removeClass("hotspot-opened")),d(".wd-image-hotspot .hotspot-content").each(function(){var o=d(this),t=(o.removeClass("hotspot-overflow-right hotspot-overflow-left"),o.attr("style",""),o.offset().left),e=woodmartThemeModule.$window.width()-(t+o.outerWidth());768<woodmartThemeModule.windowWidth&&(t<=0&&o.addClass("hotspot-overflow-right"),e<=0&&o.addClass("hotspot-overflow-left")),woodmartThemeModule.windowWidth<=768&&(t<=0&&o.css("marginLeft",Math.abs(t-15)+"px"),e<=0&&o.css("marginLeft",e-15+"px"))}),woodmartThemeModule.$document.trigger("wood-images-loaded"),!1}),woodmartThemeModule.$document.on("click",function(o){o=o.target;if(t.hasClass("hotspot-opened")&&!d(o).is(".wd-image-hotspot")&&!d(o).parents().is(".wd-image-hotspot"))return t.removeClass("hotspot-opened"),!1}))}),d(".wd-image-hotspot-wrapper").each(function(){var o=d(this);o.imagesLoaded(function(){o.addClass("loaded")})})},d(document).ready(function(){woodmartThemeModule.imageHotspot()})}(jQuery);