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

585
Views
Cómo agregar información sobre herramientas a td en una tabla

¿Puede alguien darme un ejemplo de cómo agregar una información sobre herramientas cada vez que paso el cursor sobre un td en una table ?

El contenido de la información sobre herramientas debe provenir de los registros de la base de datos.

Ejemplo:

Si coloco el cursor sobre un nombre en una tabla... la información sobre herramientas debe mostrar su información.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Utilice el atributo de title :

 <table> <tr> <td> <a href="#" title="John Smith lives in New York."> John Smith </a> </td> </tr> </table>

Demostración en vivo: http://jsfiddle.net/GpU5f/

over 4 years ago · Santiago Trujillo Report

0

Obtendrá una información sobre herramientas al pasar el mouse si agrega 'title="whatever"' a <td> :

 <tr><td title="whatever">hover here to see "whatever" in a tooltip</td>

De dónde proviene el contenido del título es una historia diferente y quizás más difícil, pero quizás pueda hacer arreglos para que el código del programa que proporciona el texto interno de la celda haga lo mismo para el title=... .

HTH

-- Pete

over 4 years ago · Santiago Trujillo Report

0

<?php $test = "Test" ?>


 <table> <tr> <td title="<?php echo $test; ?>">Hi there</td> </tr> </table>
over 4 years ago · Santiago Trujillo 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!