开发者

How do I put a cftooltip around a table row?

开发者 https://www.devze.com 2022-12-15 11:51 出处:网络
I\'m trying to put a tooltip on a table row so that when you hover over any part of the row the tooltip displays. When I put the cftooltip tag around the entire table it works, and when I put it withi

I'm trying to put a tooltip on a table row so that when you hover over any part of the row the tooltip displays. When I put the cftooltip tag around the entire table it works, and when I put it within a td element it works, but nothing displays when I put it around td 开发者_如何学JAVAor tr elements. Any suggestions? Thanks!


I did this which seems to work. Note the lack of ending > in the <TD> tag. If you leave it in there, it displays as an extra >

<TD BGCOLOR=999999 <cftooltip sourceForTooltip="diabetic3_text.cfm?id=MET"></cftooltip> 
1)&nbsp;<b>MET</b>
</TD>


Cftooltip has tooltip attribute which actually is the tooltip to be displayed. You need to pass your values here to display it as text when hovering over the row.

0

精彩评论

暂无评论...
验证码 换一张
取 消