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

125
Views
Los enlaces iframe dejan de cargarse si src está ocupado

Tengo un iframe simple:

 <iframe name="eurosp" src="" width="100%" height="470px" marginheight="0" marginwidth="0" scrolling="no" frameborder="0" allow="fullscreen" allow="encrypted-media"></iframe>

y un montón de enlaces que quiero cargar al hacer clic dentro del iframe:

 <p><a class="button-30" target="eurosp" href="link1">[ link 1 ]</a></p> <p><a class="button-30" target="eurosp" href="link2">[ link 2 ]</a></p> <p><a class="button-30" target="eurosp" href="link3">[ link 3 ]</a></p>p

Cuando hago clic por primera vez en el enlace 1 o el enlace 2 o el enlace 3, se abre correctamente dentro del iframe. Pero después de eso, cuando quiero cambiar, por ejemplo, del enlace 1 (ya abierto en iframe) al enlace 2 (así que quiero que el enlace 2 se abra dentro del iframe reemplazando el enlace 1) no funciona.

¿Qué estoy haciendo mal? Y si no hay una explicación simple (que preferiría), ¿hay algún script simple que vacíe src antes de insertar el nuevo enlace?

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!