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

243
Views
Estoy tratando de crear un tipo de cuadro emergente al pasar el mouse sobre un texto específico, pero el texto solo se oculta y no se muestra más

Estoy tratando de crear un cuadro emergente que aparecerá cuando pases el cursor sobre el texto. El texto desaparece pero no vuelve a aparecer cuando pasa el mouse sobre él. ¿Alguna mejora que se pueda hacer al siguiente código?

 $(document).ready(function(){ $("clo-t").hide(); $("clo").hover(function(){ $("clo-t").show();, $("clo-t").hide(); }); })
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Deberías usar mouseout y mouseover en su lugar

 $(document).ready(function() { $(".clo").mouseover(() => { $(".clo-t").show(); }).mouseout(t => { if (!$(t.target).hasClass("clo-t")) $(".clo-t").hide(); }) })

about 4 years ago · Juan Pablo Isaza Report
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!