On Saturday, December 23, 2017 at 9:25:06 AM UTC-8, Paolo Caruccio wrote: > > use the "title attribute" > > <img src="x" alt="text" title="text to show as a tooltip when the mouse > moves over the image" > > > More info about html "title" > https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title > <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title> > > Thank you! That was a nice ornament to hang on the "tree"!
/dps > > Il giorno sabato 23 dicembre 2017 11:21:50 UTC+1, Dave S ha scritto: >> >> I'd like to have the alt text show when I hover over the image (like a >> tooltip). >> <img src="x" alt="text" > >> >> Is there already a css class that sets that up, do I need to make my own >> class, or is javascript needed? Would the IMG() helper make this easier? >> >> If I wanted to use some other text than the alt, does that require >> javascript ? >> >> /dps ":hover at will" >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

