Updated blacklane, chubb and anthology's templates. Some small script updates. Todos.

This commit is contained in:
Norm Rasmussen
2024-03-14 17:49:46 -04:00
parent f4a1a757c4
commit f32ce078e1
122 changed files with 2040 additions and 92 deletions

View File

@ -10,9 +10,9 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.4/tiny-slider.css">
<!-- Slick -->
<script src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
</script>
<script src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
</script>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css"/>
<!-- Add the slick-theme.css if you want default styling -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
@ -86,11 +86,11 @@
categoryFiltersArray.forEach(function(category, index) {
category.textContent = category.textContent.replace('$', '');
});
}
}
}
function resultCounter() {
if (window.location.pathname.includes('search')) {
if (window.location.pathname.includes('search')) {
var searchCardsLenght = document.querySelectorAll('.np-search-result').length;
var searchNumber = document.getElementById('search-number').innerText = searchCardsLenght;
}
@ -111,4 +111,4 @@
resultCounter();
removeCertifacteeVerificationCard();
});
</script>
</script>