Server IP : 172.67.158.161 / Your IP : 18.224.68.204 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/thietke365.net/wp-content/themes/flatsome-child/ |
Upload File : |
jQuery( document ).ready(function() { //search jQuery(".header-search-dropdown ul").appendTo("#footer"); jQuery("#footer > .nav-dropdown").addClass("d-none t-search"); jQuery(".t-search:last-child").remove(); jQuery(".t-search").prepend("<i class='fas fa-times-circle'></i>"); jQuery( ".t-search .fa-times-circle" ).click(function() { jQuery(".header-search-dropdown").removeClass("current-dropdown"); jQuery(".t-search").addClass("d-none"); jQuery(".t-search").removeClass("show-search"); }); jQuery( ".header-search-dropdown" ).click(function() { jQuery(".header-search-dropdown").addClass("current-dropdown"); jQuery(".t-search").addClass("show-search"); jQuery(".t-search").removeClass("d-none"); }); jQuery( ".nav.top-bar-nav .header-search a" ).click(function() { jQuery(".header-search-dropdown").addClass("current-dropdown"); jQuery(".header-search-dropdown ul").removeClass("d-none"); }); jQuery(".nav.top-bar-nav .header-search a").html("<img src='/wp-content/uploads/2022/04/search-copy.png'>"); //menu mobile jQuery("#wp-bottom-menu .wp-bottom-menu-item:nth-child(1) span").text("Home"); jQuery("#wp-bottom-menu .wp-bottom-menu-item:nth-child(2) span").text("Profile"); jQuery("#wp-bottom-menu .wp-bottom-menu-item:nth-child(3) span").text("Chat live"); jQuery("#wp-bottom-menu").append("<div href='' class='wp-bottom-menu-item t-dv'><div class='wp-bottom-menu-icon-wrapper'><img class='wp-bottom-menu-item-icons icon-dv' src='/wp-content/uploads/2022/04/service1-1.svg'><img class='wp-bottom-menu-item-icons icon-dv-active' src='/wp-content/uploads/2022/04/service2.svg'></div><span>Dịch vụ</span></a>"); jQuery("#wp-bottom-menu").append("<div href='' class='wp-bottom-menu-item t-menu'><div class='wp-bottom-menu-icon-wrapper'><img class='wp-bottom-menu-item-icons icon-dm' src='/wp-content/uploads/2022/04/category2-1.svg'><img class='wp-bottom-menu-item-icons icon-dm-active' src='/wp-content/uploads/2022/04/category1.svg'></div><span>Danh mục</span></a>"); jQuery(".t-dv").click(function(){ jQuery(".menu-dv-mb").slideToggle("slow"); jQuery(".t-dv img").toggle(); jQuery(".t-menu img.icon-dm-active").hide(); jQuery(".t-menu img.icon-dm").show(); jQuery(".t-menu-mb").hide(); jQuery(".t-dv").toggleClass("bd-t"); jQuery(".t-menu").removeClass("bd-t"); }); jQuery(".menu-dv-mb .closeMenu").click(function(){ jQuery(".menu-dv-mb").slideToggle("slow"); jQuery(".t-dv img").toggle(); jQuery(".t-dv").toggleClass("bd-t"); }); jQuery('#wp-bottom-menu > a.wp-bottom-menu-item:first-child> div').html("<img class='wp-bottom-menu-item-icons icon-home' src='/wp-content/uploads/2022/04/home1-1.svg'><img class='wp-bottom-menu-item-icons icon-home-active' src='/wp-content/uploads/2022/04/home2.svg'>"); jQuery('#wp-bottom-menu > a.wp-bottom-menu-item:nth-child(2)> div').html("<img class='wp-bottom-menu-item-icons icon-profile' src='/wp-content/uploads/2022/04/profile1-1.svg'><img class='wp-bottom-menu-item-icons icon-profile-active' src='/wp-content/uploads/2022/04/profile2.svg'>"); jQuery('#wp-bottom-menu > a.wp-bottom-menu-item:nth-child(3)> div').html("<img class='wp-bottom-menu-item-icons' src='/wp-content/uploads/2022/04/chat1.svg'>"); jQuery('#wp-bottom-menu > a.wp-bottom-menu-item.t-menu> i').remove(); jQuery(".t-menu").click(function(){ jQuery(".t-menu img").toggle(); }); jQuery(".t-menu").click(function(){ jQuery(".t-menu-mb").slideToggle("slow"); jQuery(".t-dv img.icon-dv-active").hide(); jQuery(".t-dv img.icon-dv").show(); jQuery(".menu-dv-mb").hide(); jQuery(".t-menu").toggleClass("bd-t"); jQuery(".t-dv").removeClass("bd-t"); }); jQuery(".t-menu-mb .closeMenu").click(function(){ jQuery(".t-menu-mb").slideToggle("slow"); jQuery(".t-menu img").toggle(); jQuery(".t-menu").toggleClass("bd-t"); }); });