2012-07-30 16 views
68

Estoy usando la información sobre herramientas. Pero quiero que en la etiqueta de la imagen, como cuando paso el mouse sobre la imagen, la información sobre herramientas debería funcionar. Lo he intentado pero no funcionaba para mí en la etiqueta de imagen.Tooltip en la imagen

+0

¿Qué idioma? HTML, C#, Java, ...? – Matthias

+0

php + html + jqyery – user1528786

+2

Use 'document.getElementById ('theImage'). Title = 'tooltip text''. – Jay

Respuesta

229

¿Usa el atributo de título de HTML estándar de la imagen?

<img src="source of image" alt="alternative text" title="this will be displayed as a tooltip"/>