You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
734 B
JavaScript
37 lines
734 B
JavaScript
5 months ago
|
|
||
|
|
||
|
let modal = document.querySelector("#modal")
|
||
|
let closemodal = document.querySelector("#closemodal")
|
||
|
|
||
|
|
||
|
function openModal(){
|
||
|
// modal.style.display = "block"
|
||
|
modal.style.display = 'flex'
|
||
|
document.querySelector(".corpus").style.overflow = 'hidden'
|
||
|
}
|
||
|
|
||
|
closemodal.addEventListener("click", ()=>{
|
||
|
modal.style.display = 'none'
|
||
|
|
||
|
})
|
||
|
|
||
|
|
||
|
|
||
|
var swiper = new Swiper(".swiper", {
|
||
|
loop: true,
|
||
|
clickable: true,
|
||
|
// autoplay: {
|
||
|
// delay: 2500,
|
||
|
// disableOnInteraction: false,
|
||
|
// },
|
||
|
navigation: {
|
||
|
nextEl: ".swiper-button-next",
|
||
|
prevEl: ".swiper-button-prev",
|
||
|
},
|
||
|
|
||
|
// pagination: {
|
||
|
// el: ".swiper-pagination",
|
||
|
// dynamicBullets: true,
|
||
|
// },
|
||
|
});
|