update 07/10

This commit is contained in:
2025-10-07 08:23:59 +07:00
parent da666480d2
commit b85755ccda
10 changed files with 1128 additions and 259 deletions

View File

@@ -11,6 +11,14 @@ $(document).ready(function () {
showInput();
showSelect();
AOS.init();
showCateMobile();
initPasswordStrength();
})
function ShowMenu() {
@@ -311,4 +319,26 @@ function initPasswordStrength() {
}
initPasswordStrength();
function showMenuMb() {
$('body').toggleClass('overflow-hidden')
$('#js-menu-mobile').toggleClass('hidden');
}
function showCateMobile() {
$('#js-menu-mobile .item-menu').on('click', function () {
$(this).toggleClass('active')
$(this).find($('.content-menu')).toggleClass('hidden');
})
}
function toggleFooter(el) {
var $el = $(el);
var $content = $el.next(".content-footer");
var $icon = $el.find("i");
$content.toggleClass("hidden");
$icon.toggleClass("fa-sort-down fa-sort-up");
}