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

134
Views
Texto deshabilitado al usar GSAP

Estoy usando la biblioteca GSAP para animaciones JS y, por alguna razón, cuando uso las animaciones, mi texto (etiquetas p, etiquetas a, barras de navegación...) está deshabilitado y ya no puedo hacer clic en ellos para ver más animaciones. lo cual es un poco molesto.

¿Alguien sabe cómo arreglar eso?

 const landingMsg = document.querySelector(".landing-msg") const navBar = document.querySelector("nav") const whoBtn = document.querySelector(".who") const whoWhen = document.querySelector(".who-when") const tl = new TimelineLite({ paused: true }) gsap.fromTo( ".landing-msg p", 1, { opacity: "0", y: "100" }, { opacity: "1", y: "0", ease: Bounce.easeOut } ) gsap.fromTo( ".landing-msg p", 1, { opacity: "1" }, { opacity: "0", delay: "2", ease: Power2.easeInOut } ) gsap.fromTo( "nav", 1, { opacity: "0", y: "-30" }, { opacity: "1", y: "0", delay: "1.7", ease: Power2.easeInOut } ) tl.to(".who-when", 1, { opacity: "1", ease: Power2.easeInOut }) whoBtn.addEventListener("click", () => { tl.play() })
about 4 years ago · Juan Pablo Isaza
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!