Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

194
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!