Posting Terbaru
recent

Pasang Emoticon Komentar Blogger Terbaru Emoticon Baru

Pasang Emoticon Komentar Blogger Terbaru Emoticon Baru ini tutorial mungkin sudah tidak pertamax lagi tetapi yang pertamaxnya adalah emoticonnya yang baru. Saya menemukan beberapa emoticon Facebook untuk komentar blogger. Anda bisa lihat contohnya dibawah ini :

Pasang Emoticon Komentar Blogger Terbaru Emoticon Baru
Pasang Emoticon Komentar Blogger Terbaru Emoticon Baru

Mungkin itu emoticon yang dipakai mangkompi saat ini, untuk tutorialnya langsung saja.

Tutorial Pasang Emoticon Komentar Blogger Terbaru Emoticon Baru


1. Simpan kode CSS ini di atas 
]]></b:skin>

img.comment_emo {
    height: auto !important;
    vertical-align: middle !important;
    width: auto !important;
    border:0px !important;
}

2. Simpan kode ini di atas  </body>

<script type="text/javascript">
//<![CDATA[
/* Blogger Comments Emoticon
 * by Rifki andrean
 */
ki = document.getElementById('comment-holder');
if (ki) {
    zx = ki.getElementsByTagName("p");
    for (i = 0; i < zx.length; i++) {
        if (zx.item(i).getAttribute('CLASS') == 'comment-content') {
            ki_emo = zx.item(i).innerHTML.replace(/:\)/gi, "<img src='https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xpa1/t39.1997-6/p64x64/851578_501183220001756_746590799_n.png' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/\^_\^/gi, "<img src='https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xap1/t39.1997-6/p64x64/851556_584179174959105_563267143_n.png' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/:-bd/gi, "<img src='https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xpa1/t39.1997-6/p64x64/851583_584179194959103_853556581_n.png' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/:-d/gi, "<img src='http://2.bp.blogspot.com/-yElQmFAIiII/UKhVMcObcQI/AAAAAAAADP4/-qdEpW8zCmY/s1600/thumbsup.gif' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/@\@\,/gi, "<img src='https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xpa1/t39.1997-6/p64x64/851560_584179038292452_2141199092_n.png' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/\\o\//gi, "<img src='https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xpa1/t39.1997-6/p64x64/851586_501183190001759_1081947944_n.png' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/=\(/gi, "<img src='http://1.bp.blogspot.com/-7I8DdEs58z0/UKhVKHT1yUI/AAAAAAAADPg/Lyzv-E74EdM/s1600/sadanimated.gif' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/:\(/gi, "<img src='http://4.bp.blogspot.com/-yXc7xHs5mXc/UKhVJLBfdaI/AAAAAAAADPY/LJKRsefyeao/s1600/sad.gif' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/\;\)/gi, "<img src='http://3.bp.blogspot.com/-5zPfqshivtY/UKhVONWZnkI/AAAAAAAADQI/iCDxagcaj5s/s1600/wink.gif' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/:D/gi, "<img src='http://3.bp.blogspot.com/-WeTjMT8JDhg/UKhVHlZ88II/AAAAAAAADPI/b1gpiAvIkCc/s1600/icon_smile.gif='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/=D/gi, "<img src='https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xap1/t39.1997-6/p64x64/851558_501183163335095_304160590_n.png' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/:\P/gi, "<img src='https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xpa1/t39.1997-6/p64x64/851575_126361970881933_2050936102_n.png' alt='' class='comment_emo'/>");
            ki_emo = ki_emo.replace(/:\p/gi, "<img src='http://2.bp.blogspot.com/-bs2e9gRj748/UKhVNKLs2YI/AAAAAAAADQA/mF7lDNOChac/s1600/wee.gif' alt='' class='comment_emo'/>");
            zx.item(i).innerHTML = ki_emo;
        }
    }
}
//]]>
</script>

3. Selesai pemasangan !


Berhasil! Jika anda mengikuti tutorial dengan tepat dan benar!

Error! Mungkin ada kode yang salah!.
Rifki Andrean

Rifki Andrean

Posting Komentar
Diberdayakan oleh Blogger.