Friday, June 29, 2012

Emoticons (Kiểu bánh bao) đẹp cho blog

Chú ý:
» Nếu bạn đang dùng comments phân cấp trên blog của mình thì bỏ quả bước 1 bước 2.

1. Vào Thiết kế → chỉnh sửa HTML → Mở rộng tiện ích mẫu và tìm đoạn code sau:
<b:loop values='data:post.comments' var='comment'>
...
</b:loop>
2. Bạn thêm vào đoạn code trên những thành phần sau:
<div id='voquocan-emo'>
<b:loop values='data:post.comments' var='comment'>
...
</b:loop>
</div>
3. Chèn vào trước thẻ </body>
<script type='text/javascript'>
function emo() { window.open(&quot;http://voquocan-emo01.blogspot.com/&quot;, &quot;followblog&quot;, &quot;height=360, width=500, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no&quot; ); }</script><script src='http://voquocan.googlecode.com/files/vqa-emo01.js' type='text/javascript'/>
4. Đặt đoạn code sau tại nơi muốn hiển thị chữ Emoticons

<a href='javascript:emo()' rel='nofollow' title='Chèn emoticons (biểu tượng mặt cười) vào nhận xét'><span class='text_style'>Emoticons</span></a>

VD: Bạn muốn chèn chữ Emoticons vào phía dưới dòng Đăng một Nhận xét thì bạn chèn đoạn code ở bước 4 phía sau thẻ

<data:blogTeamBlogMessage/>

Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 nhận xét

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

 
© 2025 Sổ ghi chú
Designed by BlogThietKe Cooperated with Duy Pham
Released under Creative Commons 3.0 CC BY-NC 3.0
Posts RSSComments RSS
Back to top