rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: radd on July 13, 2007, 01:01:00 PM
-
from what i understand, let say i want comment of an item to come out in tooltip as i mouseover on the icon for example. i can use <img src="image.gif" title="%item-comment%" />.
however not work by this way. the tooltip show %item-comment%, not the comment.
do i have to put %comment% instead of %item-comment% but i believe tihs way will not work for my template (terayon) since %comment% defined as
[comment]
<div class=comment>%item-comment%</div>
but alt or title should only be in normal text.
are they any way to do this? That Steven Guy, you said u have javascript that can do this trick, can u show it to me?
and last, if an item do not have comment, can we prevent tooltip from showing or can we set it to show "no comment" ? hehehe.. too much to ask.. sorry guys. thanks
-
if you want %comment% to be normal text, then go in the [comment] and remove the <div>, leave only text %item-comment%
-
i assume that could solve this prob, however i try avoid doing this because i afraid this will affect the template look. but i believe the div can be put before %comment% in [file] instead of having them under [comment].
ok la, i will try as u say. thanks
-
ok, it works! haha..
thanks
-
sure, the point is: if there is no comment, the [comment] section is not used at all.
-
ok, i understand now. thanks