Updates to 03-2025

This commit is contained in:
Kevin Adametz 2025-04-01 10:39:21 +02:00
parent 6167273a48
commit 9b54eb0512
348 changed files with 34535 additions and 5774 deletions

View file

@ -2,7 +2,6 @@ $(function() {
$('select').selectpicker();
$('#modals-load-content').on('show.bs.modal', function (event) {
var button = $(event.relatedTarget);
if (!button.data('id')) {
@ -56,3 +55,30 @@ function loadModalInner(self, data){
function _scrollTo(to, offset) {
$('html,body').animate({scrollTop: $(to).offset().top - offset}, 800);
}
$(document).on('click', '.open-icon-menu', function () {
$("#side-bar").addClass("show");
$("#anywhere-home").addClass("bgshow");
});
$(document).on('click', '.close-icon-menu', function () {
$("#side-bar").removeClass("show");
$("#anywhere-home").removeClass("bgshow");
});
$(document).on('click', '#anywhere-home', function () {
$("#side-bar").removeClass("show");
$("#anywhere-home").removeClass("bgshow");
});
$(document).on('click', '.scroll-to-top', function () {
$("html, body").animate({
scrollTop: 0
}, 600);
});
$(document).on('click', '.scroll-to-basket', function () {
_scrollTo('#user_cart_holder', 10)
});