Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

195
Visualizações
SwiperJS not sliding over iFrame

I have implemented Swiper in NuxtJs. I have to embed ads in the form of iFrame in slides. But my swiper stuck at iFrame. It is not sliding over the iframe. I have tried adding scrolling='no' to the iframe, but it didn't work. Also I want to hit the events of the iframe

My Code

      new Swiper(this.$refs.swiper, {
        slidesPerView: 'auto',
        spaceBetween: 20,
        centeredSlidesBounds: true,
        centerInsufficientSlides: true,
        watchSlidesProgress: true,
        watchSlidesVisibility: true,
        direction: 'horizontal',
        mousewheel: true,
        observer: true,
        observeParents: true,
        freeMode: true,
        parallax: true,
        initialSlide: slideNumber,
        keyboard: {
          enabled: true
        },
        scrollbar: {
          el: '.swiper-scrollbar',
          draggable: true
        },
        loopFillGroupWithBlank: false,
        pagination: {
          clickable: true
        },
        autoHeight: true,
        modules: 'modules',
        on: {
          activeIndexChange: function (swiper) {
            vm.listenAds()
            setTimeout(() => {
              swiper.params.centeredSlides = true
              swiper.update()
            }, 100)
          },
          afterInit: function (swiper) {
            setInterval(() => {
              swiper.update()
            }, 100)
          }
        }

      })
    }```
about 4 years ago · Santiago Gelvez
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda