Tùy biến nút phản ứng Reaction khi xem bài viết trong blog

Trước hết ta thêm phản ứng Reaction khi xem bài viết trong blog theo hướng dẫn tại đây
Nếu muốn ẩn chữ Phản ứng: (Vote:) ta bỏ đoạn code <data:top.reactionsLabel/>

Thêm dòng chữ: Hãy click Thanks nếu có ích cho bạn ta thêm đoạn code màu xanh vào như bên dưới:

<span class='reaction-buttons'>
<b:if cond='data:top.showReactions'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='reactions-label-cell' nowrap='nowrap' valign='top' width='1%'>
<span class='reactions-label'>
</span></td>
<td><div class='reaction-buttons' style='position: relative;'>
<span style='background: url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRrMpzho_gkKndE9rXhx8X6PQ4lcr1bufMH5IMxgYi0aA-OqjI8q_1yg3NDdmEJ6iWMOXv69bZHT9Zmsate6RGV63rLQ_klcLSC4e7MC1mHMk381_vbQ-2ujrIDHaenBnXKDmCb3qKGcVV/s180/thanks-bg-180.png&quot;) no-repeat scroll left top transparent; font: 75% Tahoma; height: 16px; left: 100px; padding: 2px 0pt 0pt 11px; position: absolute; top: 2px; width: 169px;'>Hãy click <b style='color: #003399;'>Thanks</b> nếu có ích cho bạn</span></div><iframe allowtransparency='true' class='reactions-iframe' expr:src='data:post.reactionsUrl' frameborder='0' name='reactions' scrolling='no'/></td>
</tr></table>
</b:if>
</span>

Có thể thay đổi nội dung tùy theo ý thích

Đăng nhận xét

/