Code java tạo thông báo cực hay cho form comment

Bước 1 : Mở rộng mẫu tiện ích -> Dùng tổ hợp phím Ctrl + F tìm code sau :

<a name='comment-form'></a>
<h4 id='comment-post-message'>Post a Comment</h4>

Bước 2 : chèn code java sao vào dưới code vừa tìm được ở trên là ok


<style>
#comrule {padding:5px 0;width:500px}
.comrule-container{padding:5px;background:#fff;border:1px solid darkgray}
.comrule-header{padding:5px 10px;background:#a2bf89;white-space:nowrap;color:#fff}
.comrule-body{width:580px;padding:5px 10px;background:#cddebe}
.comrule-body a{color:#036300}
.comrule-close{float:right;margin-right:-5px}
.comrule-text{text-align:justify;font-size:14px;line-height:30px;font-weight:normal;text-case:sentence;color:#069}
</style>
<script type='text/javascript'>
function closediv() {
document.getElementById("comrule").style.display="none";
}
setTimeout(closediv, 120000);
</script>
<div id='comrule'>
<div class='comrule-container'>
<table cellpadding='0cellspacing='0'><tr><td class='comrule-header'><b>Nội quy!</b></td>
<td class='comrule-body'><a class='comrule-closehref='#onclick='closediv()'><img alt='Đóng lạisrc='http://www.blogger.com/img/close.png'/></a>
<span class='comrule-text'>Khi bạn viết bình luận, cần tuân thủ một số quy tắc sau:
&#187; Bình luận phải nghiêm túc và không chứa các liên kết quảng cáo.
&#187; Có thể sử dụng các thẻ <b> &#8230; </b>,<i> &#8230; </i><a href='URL...rel='nofollow'> ... </a>.</span></td></tr></table>
</div>
</div>



Nguồn : chúng tôi sưu tầm từ nhiều nguồn
SHARE

Thiết kế web chuyên nghiệp giá rẻ

Chúng tôi tuyên thiết kế web chuyên nghiệp đẳng cấp giá rẻ với 5 năm kinh nghiệm trong lĩnh vực thiết kế website nếu các bạn có nhu cầu có thể liên hệ Hotline: 0962 66 57 57 || Email: cmay.tt@gmail.com || website: cmay.vn

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 nhận xét:

Đăng nhận xét