| 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/menu/ |
Upload File : |
!function(i){woodmartThemeModule.onePageMenu=function(){function n(e){var t=i("html, body"),n=i("#"+e+', .wd-menu-anchor[data-id="'+e+'"]');t.stop(!0),n.length<1||(n=n.offset().top,t.animate({scrollTop:n-woodmart_settings.one_page_menu_offset},800),setTimeout(function(){o(e)},800))}function o(t){i(".onepage-link").each(function(){var e=i(this);e.find("> a").attr("href").split("#")[1]===t&&(e.parents(".whb-row").find(".onepage-link").removeClass("current-menu-item"),e.addClass("current-menu-item"))})}var e;woodmartThemeModule.$body.on("click",".onepage-link > a",function(e){var t=i(this).attr("href").split("#")[1];i("#"+t).length<1&&i('.wd-menu-anchor[data-id="'+t+'"]').length<1||(e.stopPropagation(),e.preventDefault(),n(t),i(".wd-close-side").trigger("click"),i(".wd-fs-close").trigger("click"))}),woodmartThemeModule.$window.scroll(function(){var e=woodmartThemeModule.$window.scrollTop(),t=i(".onepage-link:first");e<50&&t.length&&o(t.find("> a").attr("href").split("#")[1])}),0<i(".onepage-link").length&&(i(".wpb-content-wrapper > :is(.vc_row, .vc_section)").waypoint(function(){var e=i(i(this)[0].element).attr("id");o(e)},{offset:150}),i(".wd-menu-anchor").waypoint(function(){o(i(i(this)[0].element).data("id"))},{offset:function(){return i(i(this)[0].element).data("offset")}}),e=window.location.hash.split("#")[1],1<window.location.hash.length&&setTimeout(function(){n(e)},500))},i(document).ready(function(){woodmartThemeModule.onePageMenu()})}(jQuery);