Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:45
Tooltips with embedded HTML Tags
Poster: Martin
Dated: Monday February 2 2004 - 18:29:05 GMT
I tried to display an image instead of text inside a tooltip:
onmouseover="showtip('<img src=images/poops.jpg width=60 height=45 border=0>')"
This works pretty well.
In fact, I'm out of the specs: HTML attributes should have delimiters like an ' or better an ".
I tried to escape the apostrophes like this:
onmouseover="showtip('<img src=\'images/poops.jpg\' width=\'60\' height=\'45\' border=\'0\'>')"
It didn't work out. Should i forget the apostrophes?
Any idea?
Thanks