How to Add Emoticons/Smileys in Blogger Comments

Emoticons or smiley faces are a great way to make comments more interesting and fun, so it's a pity that Blogger doesn't support them. In this tutorial, we will go through some simple steps to add these cool emoticons called Kolobok in Blogger/Blogspot comments, so that you and your blog visitors will be able to have an enjoyable time together.

UPDATE: Now available for threaded commenting system too!
Emoticons or smiley faces are a great way to make comments more interesting and fun How to Add Emoticons/Smileys in Blogger Comments



Adding Kolobok Emoticons or Smileys in Blogger Comments

Step 1. Log in to your Blogger account and go to 'Template', then click the 'Edit HTML' button:


Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box


Step 3. Search (CTRL + F) for this tag:
</body>

Step 4. Now pay attention which code you should use. If your comments have no reply button, then you are using the previous commenting system, otherwise look for the threaded comments codes:

a) Use this script for previous commenting system with comments that have no reply function:
<!--kolobok-smileys-->
<script type='text/javascript'>
//<![CDATA[
function replaceText(){if(!document.getElementById){return;}
bodyText = document.getElementById("smileys");
theText = bodyText.innerHTML;
theText = theText.replace(/:\)\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNN2hsXy2zI8HTlTkHpJV3DATr5K5cJgE9TGXHA4BI5m7zZK5ly9p6aj8657gESPnZSBPrZTKnVOWtapsDyiVwrwKz_khOV3DYjOf6wYK7EY-qNgd4BnqkE4fy0gBV2ozcCr_D9h60W44/s1600/taunt.gif'/>");
theText = theText.replace(/=d&gt;/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1iEHLqxw1eCE_89Vy_4tfbqmz2ORQrNcIjGNdcWNdSsqNRfWWZB2JFliBeiq1diJGsI2re7rj2gELF5UjwkvX1_wwtm9xYb1Yka3lWXoBROkTTQ_OcxzH-Q5BPBrzTBaK0fnmKgP_GQI/s1600/suicide.gif'/>");
theText = theText.replace(/:d/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixidrPBml9DP5bmILtuC-TSbD9g6LyiXGHM0nUXj1yhAzwTipI7wammOdHv5qMXEqkPbcCWa2AfNkdfJa16vtWJshTcjVONcgclswk-doZUFZVB8fYfA9WqIIgzHc7vWz-DWg0jtG_7NM/s1600/biggrin.gif'/>");
theText = theText.replace(/:p/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG0YjW1LldCJBHCcwtUy5IniF4v1pneATICyZIpsPWWAglUX3ELBYz71Gi-1YdCRq0EtwuSCcAjoBvT5CPUaocKTfn3iGSvO3alx1-lvQdWhe_Q6rxHqfGRIXdREdOcgR4O1Hxrn7aFc0/s1600/tongue.gif'/>");
theText = theText.replace(/:\(\(/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbi96CXnOK-6plAa1SgJ-M1mH4SPDmTahyphenhyphenrB4vGwgsPtz6MeUyZeYMvfLNaiEVivB4y2neTOrRjIM_Mb67-ay4_6jCx9Trr3Lkq1gWamk__klgAxodxEl667uGj-bl_0V-MfajcbvjhMw/s1600/cry2.gif'/>");
theText = theText.replace(/:\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvrhBP_jZ8FTqDOXZHMlqXWRBbOMxgcZIG1P6P8utSxcYNS9fP2s6QT30uwg-oQyS9mcI7zc8H7A9rzP0edPCkCTOxnNsoNgJN3gEOYe_Vla0NiKTgVaWIcTbXKVUIYn0qxqTtaBfhnY/s1600/smile3.gif'/>");
theText = theText.replace(/:\(/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVRmaOxQ5vFg02jDdcS6hRpb6-97wRdNzTG9sGoPmF_Wsz_gNCXX6oXJ0Lohe5JofI57PKch2oWz-aA9Ge_hWFkDaRiSKH-b3QNj9o6pd5Nbjs6P-GQhRZANrh2Panzj5fS2suuWyuaI/s1600/sad.gif'/>");
theText = theText.replace(/:-\?/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTRRaAM4P5HGHaqBgxlvkeuh9yRTVl9CkWHzbO9RYyRISO_824VexnkN6hxj-yTaTa8RLEFsuIDXXNlNeE6ZqjbVoZUppFTbU_v5MSE7wvmz1NjqYT-85lXazVRslLZywP0mBIZ-HuAsI/s1600/think.gif'/>");
theText = theText.replace(/d\(/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw8ecD-DbLjSr7o72YBpyhUwEogvDTPLu9qtELX1FaCrciLFETKMQDwZ_xtJmzvXyZUIIzIT-zGqMxsYaj3bA2OXlAyXJlTjqUU76Tfk82L25nCpjYwkgDhUYO3QJ2y2jE6bf5PTf25t8/s1600/doh.gif'/>");
theText = theText.replace(/:-o/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-q9P0azjOp3cBUHXmMHNDK4XNk-TvSles8MAlg8ubYgP0dPs6RncOqM5h-GUmXMbR_0BNM26FlKR0uJ18S4BQp6euUzicwlqJr2keqKv-iBKQEgvDbbBoameX9gnELrWA6UO_9na-D1I/s1600/shock.gif'/>");
theText = theText.replace(/:-f/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4BKYahHE465vno82tHGtbXhGqSEuSn7lqd_RQJnMyJLSp6U5_8_MGFQMXGMzAmI6ZiBnRYYS7talMOK7hfpzAhim3_CwxY3G37sFRW4K2UgxxMRomm80QO95_J03TRdYgmPMriu7p-Rg/s1600/flowers1.gif'/>");
theText = theText.replace(/:-ss/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDDTPouBVh-NyHUvUtryOluONi9-T5i3OpeSnhzXscIGpumR5iqRZh1YpUQCrk2eaivCuOMZLydfZ7q8Nt1In5oMz9DNxlncsqC_-ZwWWMB1wsaY28SMSynMFJ9lXDz6PDiH-lBrVeLWQ/s1600/unsure.gif'/>");
theText = theText.replace(/b-\(/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBaY3ztfRSBVtzJcED3GRL0YXEUaTqfmw-Duoo1IW0fgdthoOopZrIm_U1jKT8vi-PJZ0hB2mTQdF4rpbxFFKCHGx78P_0QwMzoznHgss61qoCB8vaUSrFQ6l_es7mBEIdp1BFIrFPzJs/s1600/threaten.gif'/>");
theText = theText.replace(/h-\(/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbybYlDIILYrgh6i6uW3z2d_mpj3rT8iqz9gsRxBa3Zm861wCWocgCKnNsC0FsNn2zcp8bibHhuHDhtZ9lwwMXfwPhuzi_tYP0Yq6TNC5mJwd7H_AEg_EpKMnm8SwQ9O3F_yFzla_7_bw/s1600/help.gif'/>");
theText = theText.replace(/g-\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-7wBqfVRb_WR-SmRxenEMIn7av4FaCsad_Wbl1fArzOXYaO3BL2SCrMr5aBTubFQqgvjc2up4qu9t3jN6PIz9u2oHZybN2o0RyuVd8kHrPHQQGK-uZvYmx1DCVid9jqoS5A4jfNPK5uQ/s1600/good.gif'/>");
theText = theText.replace(/5-\p/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV43_qQmZBSbcQCmoR-jFcrcLPSGJxm1sCWlg_SNtsxCf79PRbMqnq1-9dM71__rP8HKL7eMNIItZSksOD6t1_niSBzIW8ZtP8ktWkXrnjv2y3e_dZr6wNduRi4puIRJoRmhvSDTd8534/s1600/beee.gif'/>");
theText = theText.replace(/y-\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg46V2Km25zKgEOHDDYI9RgRo6xe06G0CssNmJLf0Gj3q7AkjuRVmHEhF_Y124bY_Xyec2BhBw-sBA0-Hj2NZwULuytqAJnt9EtLVQI1KHKYz5fildDXC0Od0-vscj4ldjX-p_89tfU0Kk/s1600/yahoo.gif'/>");
theText = theText.replace(/c-\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJxr5r7M9NQNk_hQiHaV9HBDjpOBUtnxYemFerUNYrSewY466pgVEFyBjdphNY-HLFpj5K0OyMJ_1TsPEcX075rDUN4IT-mUkVycmrTNAegQDbRMKnRsWf8C9VlmR9J-TozzyzfE-dxY/s1600/crazy.gif'/>");
theText = theText.replace(/s-\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiundKk62IRwBWJqK4gjStEbBsLJdLjjWAX7mXlvOkY_kAcMK3AzglI8IUjxInvDFoejHvR51gNwu3VwHmffZjkoUkpUDNkOAp0852f8osSRSPCBhyphenhyphen_k5sx3lY_2SfQE7yuBN83L-27bpY/s1600/spiteful.gif'/>");
theText = theText.replace(/d-\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOfcHuEIoEkoVnFYMZGrNvIKtO6ZJSTNEJFlMUx0AJH3CVXsu6tCMa8f0J2erIgMP3NAo04ao654KFkbKFAeTy5Gd6DNQtaiG58PlZ1u63voVdOuWrjLunOAXe0HD8tCe7KDUtEO8HNg/s1600/drinks.gif'/>");
theText = theText.replace(/w-\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu8AFTfLEBhPmoRWCoDFae5ao7ZrxI3sDKo6m_TdcqgCFUXZAyg0JLskCgfwqTzYtltZfpWB-GcjNQ7ye55Wki7pXK25QB-OJtspoOQ94IERhqRXBNt6BE3igV2So1MP94u1eDjhWnmNI/s1600/cheer.gif'/>");
theText = theText.replace(/:-\h/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2tkQGZiTeis8I8hMdemopcmqsTTe3SF-fbbbHtRp8JD4KHPl9VtvoQc-Zu5hjVObhDgRU4e2J0BqEDJ82ldCiTfeyFVxFAPwoGlCFvAWLObfDIESRESgIDTQVVrJnCsaV_bitV8p6PBQ/s1600/hi+2.gif'/>");
theText = theText.replace(/:X/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7H5K_PFJ_SVoqbw483IrCP_p1xJek30nFao_rqH-jNPGogcR-ACvsZAAk3gcBRVv08ZIOXtUuYFUAd_4VjZFuV5r8LDZoLtza0uiagUWqNZAUCQJM17kBvJcXXGKr02TGwzAbbYw9dhE/s1600/give_heart.gif'/>");
theText = theText.replace(/:\-\*/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfZDOC__Nmbt4HxP7BS6QuYgXPWlrJIirL1_OvVgYI6-g4sciLdhfVbZjpMGWElrIF_VAXjj3SlECpwfaBblFZgEy-WMtBn1OO5AYdcRR8p1wVhJjSlH_wjSfie2_n4lLdW1gRHpWSpPw/s1600/air_kiss.gif'/>");
theText = theText.replace(/=\)\)/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlXcQiZ_07Lv603SibDzg-wCROXomRYu8O1cGnRHC_AMUgFZi-lNWN9vh4heOz_0AlYLNYKaTsVRddsZX-q0GJqbPBF0qkrGL5Tdvixo4WXdQAGtg1ry89n4fdHFSHR86nXjKd1MpL0AI/s1600/rofl.gif'/>");
bodyText.innerHTML = theText;
}
replaceText();
//]]>
</script>
<!--kolobok-smileys-->
b) Script for threaded commenting system with comments that have the reply function:
<script type='text/javascript'>
//<![CDATA[
a=document.getElementById('comment-holder');if(a){b=a.getElementsByTagName("p");for(i=0;i<b.length;i++){if(b.item(i).getAttribute('CLASS')=='comment-content'){_str=b.item(i).innerHTML.replace(/:\)\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNN2hsXy2zI8HTlTkHpJV3DATr5K5cJgE9TGXHA4BI5m7zZK5ly9p6aj8657gESPnZSBPrZTKnVOWtapsDyiVwrwKz_khOV3DYjOf6wYK7EY-qNgd4BnqkE4fy0gBV2ozcCr_D9h60W44/s1600/taunt.gif' alt='' class='smiley'/>");_str=_str.replace(/=d&gt;/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1iEHLqxw1eCE_89Vy_4tfbqmz2ORQrNcIjGNdcWNdSsqNRfWWZB2JFliBeiq1diJGsI2re7rj2gELF5UjwkvX1_wwtm9xYb1Yka3lWXoBROkTTQ_OcxzH-Q5BPBrzTBaK0fnmKgP_GQI/s1600/suicide.gif' alt='' class='smiley'/>");_str=_str.replace(/:d/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixidrPBml9DP5bmILtuC-TSbD9g6LyiXGHM0nUXj1yhAzwTipI7wammOdHv5qMXEqkPbcCWa2AfNkdfJa16vtWJshTcjVONcgclswk-doZUFZVB8fYfA9WqIIgzHc7vWz-DWg0jtG_7NM/s1600/biggrin.gif' alt='' class='smiley'/>");_str=_str.replace(/:p/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG0YjW1LldCJBHCcwtUy5IniF4v1pneATICyZIpsPWWAglUX3ELBYz71Gi-1YdCRq0EtwuSCcAjoBvT5CPUaocKTfn3iGSvO3alx1-lvQdWhe_Q6rxHqfGRIXdREdOcgR4O1Hxrn7aFc0/s1600/tongue.gif' alt='' class='smiley'/>");_str=_str.replace(/:\(\(/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbi96CXnOK-6plAa1SgJ-M1mH4SPDmTahyphenhyphenrB4vGwgsPtz6MeUyZeYMvfLNaiEVivB4y2neTOrRjIM_Mb67-ay4_6jCx9Trr3Lkq1gWamk__klgAxodxEl667uGj-bl_0V-MfajcbvjhMw/s1600/cry2.gif' alt='' class='smiley'/>");_str=_str.replace(/:\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvrhBP_jZ8FTqDOXZHMlqXWRBbOMxgcZIG1P6P8utSxcYNS9fP2s6QT30uwg-oQyS9mcI7zc8H7A9rzP0edPCkCTOxnNsoNgJN3gEOYe_Vla0NiKTgVaWIcTbXKVUIYn0qxqTtaBfhnY/s1600/smile3.gif' alt='' class='smiley'/>");_str=_str.replace(/:\(/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVRmaOxQ5vFg02jDdcS6hRpb6-97wRdNzTG9sGoPmF_Wsz_gNCXX6oXJ0Lohe5JofI57PKch2oWz-aA9Ge_hWFkDaRiSKH-b3QNj9o6pd5Nbjs6P-GQhRZANrh2Panzj5fS2suuWyuaI/s1600/sad.gif' alt='' class='smiley'/>");_str=_str.replace(/:-\?/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTRRaAM4P5HGHaqBgxlvkeuh9yRTVl9CkWHzbO9RYyRISO_824VexnkN6hxj-yTaTa8RLEFsuIDXXNlNeE6ZqjbVoZUppFTbU_v5MSE7wvmz1NjqYT-85lXazVRslLZywP0mBIZ-HuAsI/s1600/think.gif' alt='' class='smiley'/>");_str=_str.replace(/d\(/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw8ecD-DbLjSr7o72YBpyhUwEogvDTPLu9qtELX1FaCrciLFETKMQDwZ_xtJmzvXyZUIIzIT-zGqMxsYaj3bA2OXlAyXJlTjqUU76Tfk82L25nCpjYwkgDhUYO3QJ2y2jE6bf5PTf25t8/s1600/doh.gif' alt='' class='smiley'/>");_str=_str.replace(/:-o/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-q9P0azjOp3cBUHXmMHNDK4XNk-TvSles8MAlg8ubYgP0dPs6RncOqM5h-GUmXMbR_0BNM26FlKR0uJ18S4BQp6euUzicwlqJr2keqKv-iBKQEgvDbbBoameX9gnELrWA6UO_9na-D1I/s1600/shock.gif' alt='' class='smiley'/>");_str=_str.replace(/:-f/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4BKYahHE465vno82tHGtbXhGqSEuSn7lqd_RQJnMyJLSp6U5_8_MGFQMXGMzAmI6ZiBnRYYS7talMOK7hfpzAhim3_CwxY3G37sFRW4K2UgxxMRomm80QO95_J03TRdYgmPMriu7p-Rg/s1600/flowers1.gif' alt='' class='smiley'/>");_str=_str.replace(/:-ss/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDDTPouBVh-NyHUvUtryOluONi9-T5i3OpeSnhzXscIGpumR5iqRZh1YpUQCrk2eaivCuOMZLydfZ7q8Nt1In5oMz9DNxlncsqC_-ZwWWMB1wsaY28SMSynMFJ9lXDz6PDiH-lBrVeLWQ/s1600/unsure.gif' alt='' class='smiley'/>");_str=_str.replace(/b-\(/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBaY3ztfRSBVtzJcED3GRL0YXEUaTqfmw-Duoo1IW0fgdthoOopZrIm_U1jKT8vi-PJZ0hB2mTQdF4rpbxFFKCHGx78P_0QwMzoznHgss61qoCB8vaUSrFQ6l_es7mBEIdp1BFIrFPzJs/s1600/threaten.gif' alt='' class='smiley'/>");_str=_str.replace(/h-\(/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbybYlDIILYrgh6i6uW3z2d_mpj3rT8iqz9gsRxBa3Zm861wCWocgCKnNsC0FsNn2zcp8bibHhuHDhtZ9lwwMXfwPhuzi_tYP0Yq6TNC5mJwd7H_AEg_EpKMnm8SwQ9O3F_yFzla_7_bw/s1600/help.gif' alt='' class='smiley'/>");_str=_str.replace(/g-\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-7wBqfVRb_WR-SmRxenEMIn7av4FaCsad_Wbl1fArzOXYaO3BL2SCrMr5aBTubFQqgvjc2up4qu9t3jN6PIz9u2oHZybN2o0RyuVd8kHrPHQQGK-uZvYmx1DCVid9jqoS5A4jfNPK5uQ/s1600/good.gif' alt='' class='smiley'/>");_str=_str.replace(/5-\p/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV43_qQmZBSbcQCmoR-jFcrcLPSGJxm1sCWlg_SNtsxCf79PRbMqnq1-9dM71__rP8HKL7eMNIItZSksOD6t1_niSBzIW8ZtP8ktWkXrnjv2y3e_dZr6wNduRi4puIRJoRmhvSDTd8534/s1600/beee.gif' alt='' class='smiley'/>");_str=_str.replace(/y-\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg46V2Km25zKgEOHDDYI9RgRo6xe06G0CssNmJLf0Gj3q7AkjuRVmHEhF_Y124bY_Xyec2BhBw-sBA0-Hj2NZwULuytqAJnt9EtLVQI1KHKYz5fildDXC0Od0-vscj4ldjX-p_89tfU0Kk/s1600/yahoo.gif' alt='' class='smiley'/>");_str=_str.replace(/c-\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJxr5r7M9NQNk_hQiHaV9HBDjpOBUtnxYemFerUNYrSewY466pgVEFyBjdphNY-HLFpj5K0OyMJ_1TsPEcX075rDUN4IT-mUkVycmrTNAegQDbRMKnRsWf8C9VlmR9J-TozzyzfE-dxY/s1600/crazy.gif' alt='' class='smiley'/>");_str=_str.replace(/s-\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiundKk62IRwBWJqK4gjStEbBsLJdLjjWAX7mXlvOkY_kAcMK3AzglI8IUjxInvDFoejHvR51gNwu3VwHmffZjkoUkpUDNkOAp0852f8osSRSPCBhyphenhyphen_k5sx3lY_2SfQE7yuBN83L-27bpY/s1600/spiteful.gif' alt='' class='smiley'/>");_str=_str.replace(/d-\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOfcHuEIoEkoVnFYMZGrNvIKtO6ZJSTNEJFlMUx0AJH3CVXsu6tCMa8f0J2erIgMP3NAo04ao654KFkbKFAeTy5Gd6DNQtaiG58PlZ1u63voVdOuWrjLunOAXe0HD8tCe7KDUtEO8HNg/s1600/drinks.gif' alt='' class='smiley'/>");_str=_str.replace(/w-\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu8AFTfLEBhPmoRWCoDFae5ao7ZrxI3sDKo6m_TdcqgCFUXZAyg0JLskCgfwqTzYtltZfpWB-GcjNQ7ye55Wki7pXK25QB-OJtspoOQ94IERhqRXBNt6BE3igV2So1MP94u1eDjhWnmNI/s1600/cheer.gif' alt='' class='smiley'/>");_str=_str.replace(/:-\h/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2tkQGZiTeis8I8hMdemopcmqsTTe3SF-fbbbHtRp8JD4KHPl9VtvoQc-Zu5hjVObhDgRU4e2J0BqEDJ82ldCiTfeyFVxFAPwoGlCFvAWLObfDIESRESgIDTQVVrJnCsaV_bitV8p6PBQ/s1600/hi+2.gif' alt='' class='smiley'/>");_str=_str.replace(/:X/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7H5K_PFJ_SVoqbw483IrCP_p1xJek30nFao_rqH-jNPGogcR-ACvsZAAk3gcBRVv08ZIOXtUuYFUAd_4VjZFuV5r8LDZoLtza0uiagUWqNZAUCQJM17kBvJcXXGKr02TGwzAbbYw9dhE/s1600/give_heart.gif' alt='' class='smiley'/>");_str=_str.replace(/:\-\*/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfZDOC__Nmbt4HxP7BS6QuYgXPWlrJIirL1_OvVgYI6-g4sciLdhfVbZjpMGWElrIF_VAXjj3SlECpwfaBblFZgEy-WMtBn1OO5AYdcRR8p1wVhJjSlH_wjSfie2_n4lLdW1gRHpWSpPw/s1600/air_kiss.gif' alt='' class='smiley'/>");_str=_str.replace(/=\)\)/gi,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlXcQiZ_07Lv603SibDzg-wCROXomRYu8O1cGnRHC_AMUgFZi-lNWN9vh4heOz_0AlYLNYKaTsVRddsZX-q0GJqbPBF0qkrGL5Tdvixo4WXdQAGtg1ry89n4fdHFSHR86nXjKd1MpL0AI/s1600/rofl.gif' alt='' class='smiley'/>");b.item(i).innerHTML=_str;}}}
//]]>
</script>
Note: ignore the next 5-8 steps if you have threaded comments!

Step 5. Find this code snippet:
<b:loop values='data:post.comments' var='comment'>
Step 6. Paste the following line just above it:
<div id='smileys'>
Step 7. Find the following tag and look carefully, it should be somewhere below the code from step 5:
</b:loop>
Step 8. Paste the below div tag just AFTER it:
</div>
Step 9. Now find this code:

a) For previous commenting system:
<data:blogTeamBlogMessage/>
Note: if you'll find it like 4 times, stop at the second one (press Enter 2 times).

b) For threaded commenting system find the second (2nd) and fourth (4th) occurrence of the line below:
<a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
Step 10. Just AFTER the line above, add this code:
<b:if cond='data:blog.pageType == &quot;item&quot;'><script type='text/javascript'>
//<![CDATA[
function moreSmilies() {
    document.getElementById('smiley-more').style.display = 'inline';
    document.getElementById('smiley-toggle').innerHTML = '<a href="javascript:lessSmilies()">Hide Emoticons</a>';
}
function lessSmilies() {
    document.getElementById('smiley-more').style.display = 'none';
    document.getElementById('smiley-toggle').innerHTML = '<a href="javascript:moreSmilies()">Show Emoticons</a>';
}
//]]>
</script>
<div class='emoticons'>
<span id='smiley-more' style='display: none;'>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvrhBP_jZ8FTqDOXZHMlqXWRBbOMxgcZIG1P6P8utSxcYNS9fP2s6QT30uwg-oQyS9mcI7zc8H7A9rzP0edPCkCTOxnNsoNgJN3gEOYe_Vla0NiKTgVaWIcTbXKVUIYn0qxqTtaBfhnY/s1600/smile3.gif'/><div class="emos">:)</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVRmaOxQ5vFg02jDdcS6hRpb6-97wRdNzTG9sGoPmF_Wsz_gNCXX6oXJ0Lohe5JofI57PKch2oWz-aA9Ge_hWFkDaRiSKH-b3QNj9o6pd5Nbjs6P-GQhRZANrh2Panzj5fS2suuWyuaI/s1600/sad.gif'/><div class="emos">:(</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNN2hsXy2zI8HTlTkHpJV3DATr5K5cJgE9TGXHA4BI5m7zZK5ly9p6aj8657gESPnZSBPrZTKnVOWtapsDyiVwrwKz_khOV3DYjOf6wYK7EY-qNgd4BnqkE4fy0gBV2ozcCr_D9h60W44/s1600/taunt.gif'/><div class="emos">:))</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbi96CXnOK-6plAa1SgJ-M1mH4SPDmTahyphenhyphenrB4vGwgsPtz6MeUyZeYMvfLNaiEVivB4y2neTOrRjIM_Mb67-ay4_6jCx9Trr3Lkq1gWamk__klgAxodxEl667uGj-bl_0V-MfajcbvjhMw/s1600/cry2.gif'/><div class="emos">:((</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlXcQiZ_07Lv603SibDzg-wCROXomRYu8O1cGnRHC_AMUgFZi-lNWN9vh4heOz_0AlYLNYKaTsVRddsZX-q0GJqbPBF0qkrGL5Tdvixo4WXdQAGtg1ry89n4fdHFSHR86nXjKd1MpL0AI/s1600/rofl.gif'/><div class="emos">=))</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1iEHLqxw1eCE_89Vy_4tfbqmz2ORQrNcIjGNdcWNdSsqNRfWWZB2JFliBeiq1diJGsI2re7rj2gELF5UjwkvX1_wwtm9xYb1Yka3lWXoBROkTTQ_OcxzH-Q5BPBrzTBaK0fnmKgP_GQI/s1600/suicide.gif'/><div class="emos">=D&gt;</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixidrPBml9DP5bmILtuC-TSbD9g6LyiXGHM0nUXj1yhAzwTipI7wammOdHv5qMXEqkPbcCWa2AfNkdfJa16vtWJshTcjVONcgclswk-doZUFZVB8fYfA9WqIIgzHc7vWz-DWg0jtG_7NM/s1600/biggrin.gif'/><div class="emos">:D</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG0YjW1LldCJBHCcwtUy5IniF4v1pneATICyZIpsPWWAglUX3ELBYz71Gi-1YdCRq0EtwuSCcAjoBvT5CPUaocKTfn3iGSvO3alx1-lvQdWhe_Q6rxHqfGRIXdREdOcgR4O1Hxrn7aFc0/s1600/tongue.gif'/><div class="emos">:P</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-q9P0azjOp3cBUHXmMHNDK4XNk-TvSles8MAlg8ubYgP0dPs6RncOqM5h-GUmXMbR_0BNM26FlKR0uJ18S4BQp6euUzicwlqJr2keqKv-iBKQEgvDbbBoameX9gnELrWA6UO_9na-D1I/s1600/shock.gif'/><div class="emos">:-O</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTRRaAM4P5HGHaqBgxlvkeuh9yRTVl9CkWHzbO9RYyRISO_824VexnkN6hxj-yTaTa8RLEFsuIDXXNlNeE6ZqjbVoZUppFTbU_v5MSE7wvmz1NjqYT-85lXazVRslLZywP0mBIZ-HuAsI/s1600/think.gif'/><div class="emos">:-?</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDDTPouBVh-NyHUvUtryOluONi9-T5i3OpeSnhzXscIGpumR5iqRZh1YpUQCrk2eaivCuOMZLydfZ7q8Nt1In5oMz9DNxlncsqC_-ZwWWMB1wsaY28SMSynMFJ9lXDz6PDiH-lBrVeLWQ/s1600/unsure.gif'/><div class="emos">:-SS</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4BKYahHE465vno82tHGtbXhGqSEuSn7lqd_RQJnMyJLSp6U5_8_MGFQMXGMzAmI6ZiBnRYYS7talMOK7hfpzAhim3_CwxY3G37sFRW4K2UgxxMRomm80QO95_J03TRdYgmPMriu7p-Rg/s1600/flowers1.gif'/><div class="emos">:-f</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw8ecD-DbLjSr7o72YBpyhUwEogvDTPLu9qtELX1FaCrciLFETKMQDwZ_xtJmzvXyZUIIzIT-zGqMxsYaj3bA2OXlAyXJlTjqUU76Tfk82L25nCpjYwkgDhUYO3QJ2y2jE6bf5PTf25t8/s1600/doh.gif'/><div class="emos">d(</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfZDOC__Nmbt4HxP7BS6QuYgXPWlrJIirL1_OvVgYI6-g4sciLdhfVbZjpMGWElrIF_VAXjj3SlECpwfaBblFZgEy-WMtBn1OO5AYdcRR8p1wVhJjSlH_wjSfie2_n4lLdW1gRHpWSpPw/s1600/air_kiss.gif'/><div class="emos">:-*</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBaY3ztfRSBVtzJcED3GRL0YXEUaTqfmw-Duoo1IW0fgdthoOopZrIm_U1jKT8vi-PJZ0hB2mTQdF4rpbxFFKCHGx78P_0QwMzoznHgss61qoCB8vaUSrFQ6l_es7mBEIdp1BFIrFPzJs/s1600/threaten.gif'/><div class="emos">b-(</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbybYlDIILYrgh6i6uW3z2d_mpj3rT8iqz9gsRxBa3Zm861wCWocgCKnNsC0FsNn2zcp8bibHhuHDhtZ9lwwMXfwPhuzi_tYP0Yq6TNC5mJwd7H_AEg_EpKMnm8SwQ9O3F_yFzla_7_bw/s1600/help.gif'/><div class="emos">h-(</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-7wBqfVRb_WR-SmRxenEMIn7av4FaCsad_Wbl1fArzOXYaO3BL2SCrMr5aBTubFQqgvjc2up4qu9t3jN6PIz9u2oHZybN2o0RyuVd8kHrPHQQGK-uZvYmx1DCVid9jqoS5A4jfNPK5uQ/s1600/good.gif'/><div class="emos">g-)</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV43_qQmZBSbcQCmoR-jFcrcLPSGJxm1sCWlg_SNtsxCf79PRbMqnq1-9dM71__rP8HKL7eMNIItZSksOD6t1_niSBzIW8ZtP8ktWkXrnjv2y3e_dZr6wNduRi4puIRJoRmhvSDTd8534/s1600/beee.gif'/><div class="emos">5-p</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg46V2Km25zKgEOHDDYI9RgRo6xe06G0CssNmJLf0Gj3q7AkjuRVmHEhF_Y124bY_Xyec2BhBw-sBA0-Hj2NZwULuytqAJnt9EtLVQI1KHKYz5fildDXC0Od0-vscj4ldjX-p_89tfU0Kk/s1600/yahoo.gif'/><div class="emos">y-)</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJxr5r7M9NQNk_hQiHaV9HBDjpOBUtnxYemFerUNYrSewY466pgVEFyBjdphNY-HLFpj5K0OyMJ_1TsPEcX075rDUN4IT-mUkVycmrTNAegQDbRMKnRsWf8C9VlmR9J-TozzyzfE-dxY/s1600/crazy.gif'/><div class="emos">c-)</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiundKk62IRwBWJqK4gjStEbBsLJdLjjWAX7mXlvOkY_kAcMK3AzglI8IUjxInvDFoejHvR51gNwu3VwHmffZjkoUkpUDNkOAp0852f8osSRSPCBhyphenhyphen_k5sx3lY_2SfQE7yuBN83L-27bpY/s1600/spiteful.gif'/><div class="emos">s-)</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOfcHuEIoEkoVnFYMZGrNvIKtO6ZJSTNEJFlMUx0AJH3CVXsu6tCMa8f0J2erIgMP3NAo04ao654KFkbKFAeTy5Gd6DNQtaiG58PlZ1u63voVdOuWrjLunOAXe0HD8tCe7KDUtEO8HNg/s1600/drinks.gif'/><div class="emos">d-)</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu8AFTfLEBhPmoRWCoDFae5ao7ZrxI3sDKo6m_TdcqgCFUXZAyg0JLskCgfwqTzYtltZfpWB-GcjNQ7ye55Wki7pXK25QB-OJtspoOQ94IERhqRXBNt6BE3igV2So1MP94u1eDjhWnmNI/s1600/cheer.gif'/><div class="emos">w-)</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2tkQGZiTeis8I8hMdemopcmqsTTe3SF-fbbbHtRp8JD4KHPl9VtvoQc-Zu5hjVObhDgRU4e2J0BqEDJ82ldCiTfeyFVxFAPwoGlCFvAWLObfDIESRESgIDTQVVrJnCsaV_bitV8p6PBQ/s1600/hi+2.gif'/><div class="emos">:-h</div></div>
<div class="itemo"><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7H5K_PFJ_SVoqbw483IrCP_p1xJek30nFao_rqH-jNPGogcR-ACvsZAAk3gcBRVv08ZIOXtUuYFUAd_4VjZFuV5r8LDZoLtza0uiagUWqNZAUCQJM17kBvJcXXGKr02TGwzAbbYw9dhE/s1600/give_heart.gif'/><div class="emos">:X</div></div>
</span>
<span id='smiley-toggle'><a href='javascript:moreSmilies()'>Show Emoticons <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvrhBP_jZ8FTqDOXZHMlqXWRBbOMxgcZIG1P6P8utSxcYNS9fP2s6QT30uwg-oQyS9mcI7zc8H7A9rzP0edPCkCTOxnNsoNgJN3gEOYe_Vla0NiKTgVaWIcTbXKVUIYn0qxqTtaBfhnY/s1600/smile3.gif'/></a></span>
</div></b:if>
Step 11. Finally, find this tag:
]]></b:skin>
Step 12. Add the CSS code just above ]]></b:skin>
.itemo{float:left;font-size:11px;height:30px;line-height:1.2;padding:10px 0;text-align:center;width:85px;}
span#smiley-toggle{clear:both;padding:15px 10px;float:left;font:bold 14px 'Oswald', sans-serif;}
span#smiley-toggle a{text-decoration:none;}
#smiley-toggle img{vertical-align:bottom;}
img.smiley{vertical-align:bottom;}
Step 13. Save the changes by clicking the 'Save Template' and you're done adding emoticons in Blogger comments. Enjoy!

0 Response to "How to Add Emoticons/Smileys in Blogger Comments"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel