first commit

This commit is contained in:
2025-03-06 19:27:29 +01:00
commit f2698d53d0
6352 changed files with 822401 additions and 0 deletions

23
layout/js/custom-turen.js Normal file
View File

@@ -0,0 +1,23 @@
$(function() {
function activateProductBox(boxHref) {
$(".turen-info", productList).removeClass("active")
$(productList).find(`#${boxHref}`).addClass("active")
}
var productList = $("#product-preview-box .scontainer-content")
$(".turen-info", productList).first().addClass("active")
$("#nav_tabs li a").on("click", function () {
event.preventDefault()
var boxHref = $(this).attr("href").substring(1)
$(this).parent().parent().find("li").removeClass("active")
$(this).parent().addClass("active")
activateProductBox(boxHref)
})
$("#nav_tabs li").first().addClass("active")
})