1News Online:
Home » » Tutorial Blog - Memasang emoticon (smiley) pada bahagian comment

Tutorial Blog - Memasang emoticon (smiley) pada bahagian comment

Wednesday, October 31, 2012 | 2:51 AM

Untuk memasang emoticon pada bahagian comment seperti yang boleh anda lihat di sini (klik), sila ikut beberapa langkah di bawah.

p/s: Save script template sebagai backup.

Langkah 1

Log in blog => Dashboard => Layout => Edit HTML. Seterusnya, tick pada kotak Expand Widget Templates.

Langkah 2

Dengan menggunakan keyboard, tekan kekunci Ctrl+ F dan taip atau paste kod </body> pada ruang Find. Seterusnya tekan kekunci Enter.

Langkah 3

Salin kod berwarna biru di bawah dan paste diatas atau sebelum kod </body> (rujuk langkah 2)

<script src='http://sites.google.com/site/javascript10/emoticon.js' type='text/javascript'/>

Langkah 4

Sekali lagi dengan menggunakan keyboard, tekan kekunci Ctrl+ F dan taip atau paste kod <b:if cond='data:post.embedCommentForm'> pada ruang Find. Seterusnya tekan kekunci Enter.

Langkah 5

Salin kod berwarna merah di bawah dan paste di atas atau sebelum kod <b:if cond='data:post.embedCommentForm'> ( rujuk langkah 4)

<b>
<img src='http://3.bp.blogspot.com/__hqk0jmhlcE/Sz8OxkDP6II/AAAAAAAAAMs/CovYIf-LL_8/s200/20x20-waaaht.png'/>:a:
<img src='http://3.bp.blogspot.com/__hqk0jmhlcE/Sz8OxVdg0cI/AAAAAAAAAMk/UwJaTZCOHis/s200/20x20-too_sad.png'/>:b:
<img src='http://3.bp.blogspot.com/__hqk0jmhlcE/Sz8OxKitqGI/AAAAAAAAAMc/zWMNKjSqTQ4/s200/20x20-look_down.png'/>:c:
<img src='http://1.bp.blogspot.com/__hqk0jmhlcE/Sz8OwwZk9hI/AAAAAAAAAMU/lhb3vISf1TU/s200/20x20-hell_boy.png'/>:d:
<img src='http://2.bp.blogspot.com/__hqk0jmhlcE/Sz8OwpXmMwI/AAAAAAAAAMM/vprwfWxg7co/s200/20x20-feel_good.png'/>:e:
<img src='http://3.bp.blogspot.com/__hqk0jmhlcE/Sz8OmUvk0mI/AAAAAAAAAME/5cECKglnxs8/s200/20x20-extreme_sexy_girl.png'/>:f:
<img src='http://2.bp.blogspot.com/__hqk0jmhlcE/Sz8OmYyjBFI/AAAAAAAAAL8/1Ry44V2xRHI/s200/20x20-confuse.png'/>:g:
<img src='http://2.bp.blogspot.com/__hqk0jmhlcE/Sz8OmCyE65I/AAAAAAAAAL0/a59volhDjcA/s200/20x20-confident.png'/>:h:
<img src='http://4.bp.blogspot.com/__hqk0jmhlcE/Sz8OlmucmDI/AAAAAAAAALs/vp1IhT2YVpI/s200/20x20-cold.png'/>:i:
<img src='http://4.bp.blogspot.com/__hqk0jmhlcE/Sz8OlZBZzmI/AAAAAAAAALk/YCaSAfqbHAc/s200/20x20-choler.png'/>:j:
<img src='http://2.bp.blogspot.com/__hqk0jmhlcE/Sz8OYKZsCeI/AAAAAAAAALc/R9KzwNpH1nU/s200/20x20-boss.png'/>:k:
<img src='http://2.bp.blogspot.com/__hqk0jmhlcE/Sz8OXjpmf_I/AAAAAAAAALU/MAglXLF-xHY/s200/20x20-big_smile.png'/>:l:
<img src='http://3.bp.blogspot.com/__hqk0jmhlcE/Sz8OXMmdPbI/AAAAAAAAALM/WyX3vQgP5Fg/s200/20x20-beauty.png'/>:m:
<img src='http://1.bp.blogspot.com/__hqk0jmhlcE/Sz8OW3v8h5I/AAAAAAAAALE/tfJS1mBT1co/s200/20x20-beat_brick.png'/>:n:
<img src='http://4.bp.blogspot.com/__hqk0jmhlcE/Sz8OWuw8zTI/AAAAAAAAAK8/SWacR_b15wo/s200/20x20-bad_smelly.png'/>:o:
<img src='http://1.bp.blogspot.com/__hqk0jmhlcE/Sz8OFtJNI7I/AAAAAAAAAK0/TBrJQJCUM6M/s200/20x20-angry.png'/>:p:
<img src='http://3.bp.blogspot.com/__hqk0jmhlcE/Sz8OE1lGnuI/AAAAAAAAAKs/uDrHlsxfAg0/s200/20x20-amazed.png'/>:q:
<img src='http://4.bp.blogspot.com/__hqk0jmhlcE/Sz8OEjM4SpI/AAAAAAAAAKk/2wYzAA6aSh4/s200/20x20-ah.png'/>:r:
<img src='http://4.bp.blogspot.com/__hqk0jmhlcE/Sz8OEVMt2FI/AAAAAAAAAKc/Ers8-nzWOMs/s200/20x20-after_boom.png'/>:s:
<img src='http://2.bp.blogspot.com/__hqk0jmhlcE/Sz8ODuF2DsI/AAAAAAAAAKU/Zjy0uQGhHZU/s200/20x20-adore.png'/>:t:
</b>

Akhir sekali, klik Preview dan jika tiada mesej Error terpapar, klik saja Save.
Kongsi artikel ini : :

Post a Comment

 
Copyright © 2012. 1News Online - All Rights Reserved
Proudly powered by Blogger