Show / Display Skype Emoticons In Blogger Comment Form




skype-in-Blogger Many tutorials have already been published on how to display emoticons in BlogSpot comments but since unique content is what MBT always publishes, today we will learn on how to add a collection of cute Skype emoticons above Blogger comment form. The tutorial is as easy to understand as you can imagine! :>

 

 

Kindly have a look at the demo first,

Live Demo

 

Follow These Steps:

  1. Go to Blogger > LayoutEdit HTML
  2. Check the “Expand Widget Templates” box
  3. Search for,

<h4 id='comment-post-message'><data:postCommentMsg/></h4>

   4.     Just below it paste the code below,

<div style=' width: 370px;  text-align: left;  border: 2px solid #0084ce;  background: #FEF9EA; padding: 10px;   color:#0084ce;  font-weight:bold;  '>

<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYzqyg9e5D_5fQRI4kME6TNxLiMSgivx-RNlj-Y14EI5NqsP9vpuLqvKIAt06lESC5WQJ2Oz2LognXYLqSoVwRrjIuyFL2PDNzZ4mDpRGB5tOboFinAd2071E10epl-Wp6F8ORSD4tR8Q/s800/emoticon-0100-smile.gif'/> :a

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_ootYeeL4E1ZJ7w3QL3v0UDzixlRFM_PcAZ_WvPPqbAw_hKNTSxgw1HUqRTLr4vAKaFfY7g4mfcj2Hs91kBICoA7aIXZ6USPCz4l0oOOYYPRtiaiXwhAClqiB2LDlnTQku0LeNHrMvvo/s800/emoticon-0101-sadsmile.gif'/> :b

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinWUjFvW9iop0MBYTaOKApYNNMGOoelpPf1-WTVCi76fw9dBGDjPctLYCu6pBPnagWtaAYFPGU1m_dwsN2fKk6v83lP6QQNFowhR3OkDrPrA-iGnRQ-yIWFla15GVcE2BV66LVCfeVxFg/s800/emoticon-0102-bigsmile.gif'/> :c

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVo7kGKPOXSBQOBHGfhyphenhyphenk8fElL_h51nU3r5RCoU5_pU4VgEKHEnFHw9cmlTRU2M7HJz5X10zEy260rHlmqxFhyphenhyphenD03Byzg2hhEghlKm7ZqFipYmfMOVXDZKCfw7kKsgDtXwVpXCrLWp7to/s800/emoticon-0105-wink.gif'/> :d

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlgIHg19RRqUuOBJTMFnkutUX3_nSyyohzbFM-6REdCyrs0o7THFYB6Dtq18GKr8hA8EifuTMOZ7Ur5l-kBHGMkTi0sxz72YNNi61FLGaW6n4HaRkPmtcFrtgvyINs2i3oXlS-Tnhyphenhyphen0XA/s800/emoticon-0104-surprised.gif'/> :e

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCrWiL4Q0DOcHCjPBpD-DUokARSVgXtckHffkBAjtloCeOzV4Ubc0_OxS5jx2MNhbN7vF-2bG3D2us2zshvujhVOcdPODseBEUCzgyJJCdgFLKJUOfh25uvs18PvkbaaL8QYvkBxdW0gE/s800/emoticon-0106-crying.gif'/> :f

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNfzyp5cmCtY6C_MEfZi6-VET5_hJE8wJDH70dlbKCnqSVgfLPT0aW-zuiwj4i42vmobMirUAnmuICFg7led8D51dkmaUNGrRyGzvp_lfBbYzyGUeGYpPljIwfvv4yX28qinUUlY7CP28/s800/emoticon-0109-kiss.gif'/> :g

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz1ai8AF2MCNJfJV3MAECx5Zw9iIL7nI1Q8yBGi3WMoPrXR_fT6w_gMfMqVPt8l_7LjTUb1QsB2DN4_juI0RFwnUo-D8mukH4di7EaEgzZYSyxTDW-TfwW0MBlYi2ScCO6m9PQydbC4jw/s800/emoticon-0111-blush.gif'/> :h

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdhPxWihKzcy-oXaKdQ6IW6WjG7E3tUOJGC9KAtNWbTo8kOyrS1vgDl9COeJ2dFUXPSH0FBkZ1FQ_uAy_BKXSr9JsAjzSl5Zn52Fo3mFw5NOpz5LFbeGZmoMOqqC8h29z9giUop_mk6Ao/s800/emoticon-0110-tongueout.gif'/> :i

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0WH3IDqUKMDplPHEJDSDmpJz7v3nuoEFSzV7_m-fDMo4U-L4BRE6vtOPNr5P1toXGd-JrSfpUtd1MtXyMzBZSD92rcPJ6VSpSoavc8foYcjnsC3V7kgmMiNck7C5HYKXr2nsrhvULz0/s800/emoticon-0126-nerd.gif'/> :j

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr6tEVeYQvf107x3ow0Sx0jDxhkYnmlh2mC20T1s9uJ6X9Arzg9yAjI4as_pBjZMPHFs4eTEYUOr684vEHICzfnFCUq7PU4deCe9dj7UqZDNt2oGpHzn8znIxX1gy8h-8A-60_LS1Cn90/s800/emoticon-0103-cool.gif'/> :k

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLl-tkLAQNuEuoEebjZokOrt9rWkNFjeUhc3vVKVmlGYU19zCHDNkLdunsNhH5TLaUqE1k8LS3K8GMXmVheVjcsDavLnPKZWtUIIljUp-BImGHz7SrSPp2HCsIQZCLGXtR2MmkxAuVaZo/s800/emoticon-0130-devil.gif'/> :l

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCHo7CJu_xBoAe8WqRw8BtqcNjAVZB2fED8V0LMkOgio_9L61IvjQoEheq7oLgMtvvDfdldOn3etgfNCeweHydJk9v1BAmrrCoTMGzkOIk4uRxKDkoMy5foDpmGlM4X4wepu-T6ls66zE/s800/emoticon-0133-wait.gif'/> :m

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVdmrl9rOA79lS_6t2Xq7_LPILhC6hjgN9kLgP99Nd51YKGogOuWSUbF-e1lpxZ5HQm6seGab51yLY7qtvFE_PMMkEZWYbUdIwDZYpnrntJpFoKG3g4H-qUqvOqfUz8Orr9GoSS4v8058/s800/emoticon-0137-clapping.gif'/> :n

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgndBujvo2mVPMeUHbdZGywK9qJpY5EFnOXofAhryZjsgTtNL411Jdm0QefqeE9O46cGHudVNpFJ4PgVNDUVLrYCildmQrA8YhEH_StK-Vf4cDDsPlZCphcVV0B-egInyuePxwNiVcJTl0/s800/emoticon-0136-giggle.gif'/> :o

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrqqToFzCRXlVXtyy9aeyTfpHTn15D88OXLM-I35tSswhScMnQv2QekKl4zmVEbBdgLeExPUPu3NGuRrWikT1vlyfWowQbPLUxfS7Ry7Hxcx7YHxOrY-kBMX2JQatL0YZbo-YQOCuGP6Y/s800/emoticon-0141-whew.gif'/> :p

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYYXFDlL8VoKoCRuG8xRE1ql7G7LBJC7MSxXkS-05O8DOiace408P_-VjM_AmR5aUJZqGaIEmA2aNd0_VKnsS5wb-AGtflJ64OlTKudaD9ntEiqdQcNLALJyjpwtBl0PXfyfrQHEIEN6U/s800/emoticon-0148-yes.gif'/> :q

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDtsiD5WTe9X7jDz9A4rCNaqbccZmpRDSoerrBU_Vtn88-EnyFg9PASIXViPkEk5bdoo9YK-xIVqleXUxgNMTt5NQ867Az8YuJW34vqUVgcyIPHo1PdeQX_fndlKbDBlXXh6Go5Kk5UfQ/s800/emoticon-0149-no.gif'/> :r

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpDZDM02kDY4de0UDQoeZUbHS9siMcsg7_GpAol0_5rlbpwKudU5unrB6mh7kGG1tptOb1VaUxxxJ_k3IYgV6hazNi3JP6BAPDvjK_4BiXZkkwciszsNMDh44JrXH0ekvp-rXFkMmS5k8/s800/emoticon-0178-rock.gif'/> :s

&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXApU71KjbsbAxRy9J2-XnINj59umzDM-ki2eApNOyr4-CY8jiDndzmoxv4N5_fVUFJG6Le6HRV9RT1DvI4ENB-Yj7JlX9abHthtK5-BBZKwOReQlwFx96PmYpoVl64OAwLVNQfXoJlDU/s800/emoticon-0155-flower.gif'/> :t
</div>

Save your template and view your blog to see a rectangular block of emoticons as shown below,

skype-emoticons-above-blogger comment form

 

Note:- To change the appearance of the rectangular block simply edit the code in bolded green colour

    5.. Now find </body>  and paste the code below just above </body>

 Note:- You can also try adding the code below just above </head> instead.

<script type='text/javascript'>

//<![CDATA[
a = document.getElementById('comments');
if(a) {
    b = a.getElementsByTagName("DD");
    for(i=0; i < b.length; i++) {
            if (b.item(i).getAttribute('CLASS') == 'Author-comment-body' , 'comment-body') {
                _str = b.item(i).innerHTML.replace(/:j/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0WH3IDqUKMDplPHEJDSDmpJz7v3nuoEFSzV7_m-fDMo4U-L4BRE6vtOPNr5P1toXGd-JrSfpUtd1MtXyMzBZSD92rcPJ6VSpSoavc8foYcjnsC3V7kgmMiNck7C5HYKXr2nsrhvULz0/s800/emoticon-0126-nerd.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:k/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr6tEVeYQvf107x3ow0Sx0jDxhkYnmlh2mC20T1s9uJ6X9Arzg9yAjI4as_pBjZMPHFs4eTEYUOr684vEHICzfnFCUq7PU4deCe9dj7UqZDNt2oGpHzn8znIxX1gy8h-8A-60_LS1Cn90/s800/emoticon-0103-cool.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:l/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLl-tkLAQNuEuoEebjZokOrt9rWkNFjeUhc3vVKVmlGYU19zCHDNkLdunsNhH5TLaUqE1k8LS3K8GMXmVheVjcsDavLnPKZWtUIIljUp-BImGHz7SrSPp2HCsIQZCLGXtR2MmkxAuVaZo/s800/emoticon-0130-devil.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:m/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCHo7CJu_xBoAe8WqRw8BtqcNjAVZB2fED8V0LMkOgio_9L61IvjQoEheq7oLgMtvvDfdldOn3etgfNCeweHydJk9v1BAmrrCoTMGzkOIk4uRxKDkoMy5foDpmGlM4X4wepu-T6ls66zE/s800/emoticon-0133-wait.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:n/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVdmrl9rOA79lS_6t2Xq7_LPILhC6hjgN9kLgP99Nd51YKGogOuWSUbF-e1lpxZ5HQm6seGab51yLY7qtvFE_PMMkEZWYbUdIwDZYpnrntJpFoKG3g4H-qUqvOqfUz8Orr9GoSS4v8058/s800/emoticon-0137-clapping.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:o/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgndBujvo2mVPMeUHbdZGywK9qJpY5EFnOXofAhryZjsgTtNL411Jdm0QefqeE9O46cGHudVNpFJ4PgVNDUVLrYCildmQrA8YhEH_StK-Vf4cDDsPlZCphcVV0B-egInyuePxwNiVcJTl0/s800/emoticon-0136-giggle.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:p/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrqqToFzCRXlVXtyy9aeyTfpHTn15D88OXLM-I35tSswhScMnQv2QekKl4zmVEbBdgLeExPUPu3NGuRrWikT1vlyfWowQbPLUxfS7Ry7Hxcx7YHxOrY-kBMX2JQatL0YZbo-YQOCuGP6Y/s800/emoticon-0141-whew.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:q/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYYXFDlL8VoKoCRuG8xRE1ql7G7LBJC7MSxXkS-05O8DOiace408P_-VjM_AmR5aUJZqGaIEmA2aNd0_VKnsS5wb-AGtflJ64OlTKudaD9ntEiqdQcNLALJyjpwtBl0PXfyfrQHEIEN6U/s800/emoticon-0148-yes.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:r/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDtsiD5WTe9X7jDz9A4rCNaqbccZmpRDSoerrBU_Vtn88-EnyFg9PASIXViPkEk5bdoo9YK-xIVqleXUxgNMTt5NQ867Az8YuJW34vqUVgcyIPHo1PdeQX_fndlKbDBlXXh6Go5Kk5UfQ/s800/emoticon-0149-no.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:s/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXApU71KjbsbAxRy9J2-XnINj59umzDM-ki2eApNOyr4-CY8jiDndzmoxv4N5_fVUFJG6Le6HRV9RT1DvI4ENB-Yj7JlX9abHthtK5-BBZKwOReQlwFx96PmYpoVl64OAwLVNQfXoJlDU/s800/emoticon-0155-flower.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:t/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpDZDM02kDY4de0UDQoeZUbHS9siMcsg7_GpAol0_5rlbpwKudU5unrB6mh7kGG1tptOb1VaUxxxJ_k3IYgV6hazNi3JP6BAPDvjK_4BiXZkkwciszsNMDh44JrXH0ekvp-rXFkMmS5k8/s800/emoticon-0178-rock.gif' alt='' class='smiley'/>");

                _str = _str.replace(/:a/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYzqyg9e5D_5fQRI4kME6TNxLiMSgivx-RNlj-Y14EI5NqsP9vpuLqvKIAt06lESC5WQJ2Oz2LognXYLqSoVwRrjIuyFL2PDNzZ4mDpRGB5tOboFinAd2071E10epl-Wp6F8ORSD4tR8Q/s800/emoticon-0100-smile.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:b/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_ootYeeL4E1ZJ7w3QL3v0UDzixlRFM_PcAZ_WvPPqbAw_hKNTSxgw1HUqRTLr4vAKaFfY7g4mfcj2Hs91kBICoA7aIXZ6USPCz4l0oOOYYPRtiaiXwhAClqiB2LDlnTQku0LeNHrMvvo/s800/emoticon-0101-sadsmile.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:c/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinWUjFvW9iop0MBYTaOKApYNNMGOoelpPf1-WTVCi76fw9dBGDjPctLYCu6pBPnagWtaAYFPGU1m_dwsN2fKk6v83lP6QQNFowhR3OkDrPrA-iGnRQ-yIWFla15GVcE2BV66LVCfeVxFg/s800/emoticon-0102-bigsmile.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:d/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVo7kGKPOXSBQOBHGfhyphenhyphenk8fElL_h51nU3r5RCoU5_pU4VgEKHEnFHw9cmlTRU2M7HJz5X10zEy260rHlmqxFhyphenhyphenD03Byzg2hhEghlKm7ZqFipYmfMOVXDZKCfw7kKsgDtXwVpXCrLWp7to/s800/emoticon-0105-wink.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:e/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlgIHg19RRqUuOBJTMFnkutUX3_nSyyohzbFM-6REdCyrs0o7THFYB6Dtq18GKr8hA8EifuTMOZ7Ur5l-kBHGMkTi0sxz72YNNi61FLGaW6n4HaRkPmtcFrtgvyINs2i3oXlS-Tnhyphenhyphen0XA/s800/emoticon-0104-surprised.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:f/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCrWiL4Q0DOcHCjPBpD-DUokARSVgXtckHffkBAjtloCeOzV4Ubc0_OxS5jx2MNhbN7vF-2bG3D2us2zshvujhVOcdPODseBEUCzgyJJCdgFLKJUOfh25uvs18PvkbaaL8QYvkBxdW0gE/s800/emoticon-0106-crying.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:g/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNfzyp5cmCtY6C_MEfZi6-VET5_hJE8wJDH70dlbKCnqSVgfLPT0aW-zuiwj4i42vmobMirUAnmuICFg7led8D51dkmaUNGrRyGzvp_lfBbYzyGUeGYpPljIwfvv4yX28qinUUlY7CP28/s800/emoticon-0109-kiss.gif' alt='' class='smiley'/>");
                _str = _str.replace(/:h/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz1ai8AF2MCNJfJV3MAECx5Zw9iIL7nI1Q8yBGi3WMoPrXR_fT6w_gMfMqVPt8l_7LjTUb1QsB2DN4_juI0RFwnUo-D8mukH4di7EaEgzZYSyxTDW-TfwW0MBlYi2ScCO6m9PQydbC4jw/s800/emoticon-0111-blush.gif' alt='' class='smiley'/>");
        _str = _str.replace(/:i/ig,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdhPxWihKzcy-oXaKdQ6IW6WjG7E3tUOJGC9KAtNWbTo8kOyrS1vgDl9COeJ2dFUXPSH0FBkZ1FQ_uAy_BKXSr9JsAjzSl5Zn52Fo3mFw5NOpz5LFbeGZmoMOqqC8h29z9giUop_mk6Ao/s800/emoticon-0110-tongueout.gif' alt='' class='smiley'/>")
                b.item(i).innerHTML = _str;
            }
    }
}

//]]>

</script>

 

 

     6.  Save your template and view the beautiful change! :D

The Emoticons Will appear In Both Readers and Author’s Comments!

As you know the yahoo smileys tutorials has one disadvantage and that is that the emoticons appear only in readers comments and can not be displayed in author comments. In order to make the emoticons appear even in Authors comment block then simply replace the code in bolded red colour above (i.e  Author-comment-body ) with the CSS class for blog owners customized comments. If you do not know how to do it then simply share your blog URL and I will let you know what code should you paste instead of Author-comment-body

How did you find it?

I made it as simple as it could be and I hope it will add an extra sweet flavor to your blogs. The codes for the emoticons are made easy so that readers could easily use an emoticon of their choice. You can increase the number of emoticons and can also customize the look and feel of the rectangular box of emoticons that will appear above the comment form. I wrote this in hurry so if you have any questions just drop me a hi! :>>

No comments:

Post a Comment