How to Add a Tooltip to Your Label links in Blogger

February 23, 2008 | posted in , | 0 comments

Don't forget to subscribe for Latest Updates!

Another polish-and-shine hack: add a tooltip to the labels-links. Hovering your mousepointer over the link in your posts footer will show a tooltip saying "More posts on this topic".

Insert the red code into your template.

<span class='post-labels'>
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' title='More posts on this topic' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
</span>

Easy!!

Print
0 Responses So far

Post a Comment