<!-- Tạo số đếm thứ tự cho các comment (1)-->
<script type='text/javascript'>var CommentsCounter=0;</script>
<b:loop values='data:post.comments' var='comment'>
<div class='' expr:id='data:comment.id'>
<!-- Tạo số đếm thứ tự cho các comment (2)-->
<span class='comment-number'>
<a expr:href='"#comment-" + data:comment.id' title='Comment Link'>
<script type='text/javascript'>
CommentsCounter=CommentsCounter+1;
document.write(CommentsCounter)
</script>
</a>
</span>
<dd class='comment-footer'>
<span class='comment-timestamp'>
<a expr:href='data:comment.url' title='comment permalink'>
<data:comment.timestamp/>
</a>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
</dd>
/*Tạo số đếm thứ tự cho các comment (3)*/
.comment-number {
float: right;
background: url(LINK_HÌNH) no-repeat; /*Hình trang trí cho số đếm comment. Không dùng hình thì bỏ qua*/
margin-right: 4px; /*Vị trí số đếm comment*/
margin-top: 0px; /*Vị trí số đếm comment*/
text-align: center;
font-family: Verdana;
font-size: 12px;
font-weight: bold;
}
.comment-number a:link, .comment-number a:visited {
color: #ADADAD !important; /*Màu số đếm comment*/
text-decoration: none !important;
}
.comment-number a:hover, .comment-number a:active {
color: #FF9933 !important;
text-decoration: none !important;
}
Thông tin liên hệ
Ý kiến bạn đọc [ 0 ]
Ý kiến của bạn