$('#all_menu').click(function () { element_all_menu = document.getElementById('all_menu'); menu_topPos = element_all_menu.getBoundingClientRect().top + 30; $('.fixed_store_menu').css('top', menu_topPos+'px') });
admin Asked question July 8, 2021
$('#all_menu').click(function () { element_all_menu = document.getElementById('all_menu'); menu_topPos = element_all_menu.getBoundingClientRect().top + 30; $('.fixed_store_menu').css('top', menu_topPos+'px') });