Trombones13
Well-known member
I modified the Members Online Now block to show avatars, just like the the Highest-Posting/Newest Members blocks are configured. However, I'm having an issue with the tooltip:
Obviously, I want the tooltip to pop out above the name, instead of getting in the way of the image when I'm hovering over it. This is the code I have in sidebar_online_users:
Any suggestions on how to fix the tooltip? Thanks!
Obviously, I want the tooltip to pop out above the name, instead of getting in the way of the image when I'm hovering over it. This is the code I have in sidebar_online_users:
Code:
<xen:foreach loop="$onlineUsers.records" value="$user" i="$i">
<xen:if is="{$i} <= {$onlineUsers.limit}">
<li>
<xen:if is="{$user.user_id}">
<xen:avatar user="$user" size="s" class="Tooltip" img="true" title="{$user.username}" />
<xen:else />
{xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
</xen:if>
</li>
</xen:if>
</xen:foreach>