Drae
Active member
I'm trying to change a few things on the XF default templates in my skins to become tooltip popups instead when hovered over. I've found classes such as StatusTooltip, but my attempts so far to merely use "Tooltip" has had limited success 
At present, I'm trying to change this bit of the sidebar_visitor_panel:
So that the number of messages, trophy points and likes pop up on hovering over their phrase.
Do I have to make new tooltip classes such as, "LikesTooltip"?
At present, I'm trying to change this bit of the sidebar_visitor_panel:
Code:
<xen:hook name="sidebar_visitor_panel_stats">
<dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
<dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
<dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
</div>
</xen:hook>
So that the number of messages, trophy points and likes pop up on hovering over their phrase.
Do I have to make new tooltip classes such as, "LikesTooltip"?