Post Private Controls with title?

  • Thread starter Thread starter bogus
  • Start date Start date
B

bogus

Guest
I would like to know how i can change the Private Control "delete" as Title on hover.

I want to change the Text into an Image which i will add with css a.delete but want the delete Text {xen:phrase delete} as Title on hover

I´ve tried this, but´s not working
Code:
<xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger" title="{xen:phrase delete}" /></a></xen:if>

Template is post and here´s the original part of code.
Code:
<xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger"><span></span>{xen:phrase delete}</a></xen:if>

Thanks for your help
 
Your "a" tag has nothing inside it so there is probably nothing to mouse over to trigger the title. You need something inside, like an "img" tag for your image.
 
I guess i know what you mean but... well, i will give i try also if i dont know yet how to ;)


Got it. Dead easy, if you know ;)
Code:
<xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger"><img src="styles/folder/thread/thumb_up.png" title="{xen:phrase delete}" /></a></xen:if>

Thanks Jake for your help
 
Top Bottom