|
MENYISIPKAN SMILEYS PADA KOMENTAR
Special thanks : Kak Tiara
- Dashboard >>> Template >>> Edit HTML
- CTRL + F lalu cari kode </body>
- Copy kode di bawah ini :
<b:if cond='data:blog.pageType == "item"'>
<script type='text/javascript'>
//<![CDATA[
var emoRange = "#comments p, div.emoWrap",
putEmoAbove = "iframe#comment-editor",
emoMessage = "To insert emoticon you must added at least one space before the code.";
// Emoticon bar before comment-form
$(function() {
$(putEmoAbove)
.before('<div style="text-align:center" class="emoWrap">
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p)
:-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
<br/><b>Click to see the code!</b><br/>To insert
emoticon you must added at least one space before the
code.</div>');
var emo = function(emo, imgRep, emoKey) {
$(emoRange)
.each(function() {
$(this)
.html($(this)
.html()
.replace(/<br>:/g, "<br> :")
.replace(/<br>;/g, "<br> ;")
.replace(/<br>=/g, "<br> =")
.replace(/<br>\^/g, "<br> ^")
.replace(emo, " <img style='max-height:24px' src='" +
imgRep + "' class='emo delayLoad' alt='" + emoKey + "' />"));
});
};
emo(/\s:\)\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibOM3baup1LWv7r4cEQhPVHnCOch5lkpENAxkySTE8Jao8kuZnvxBVsr06nFzipDG6NEOUxOeuspsWri3_pyfXK7XZsup_EZ48aCC8aFQ2fw3Tm7s3rJHdcJvt-ey6yE-1t5itayPHmMA/s36/03.gif", ":))");
emo(/\s;\(\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtKwJrBprKtuRkIMIdmAz2-UaJhf6kdiiixd4lK31fQYsrOqpxjgVslojKEc31X5lLjw6Qf2-k5TjS9h5b9I8VwdZJqthp7OwNNO52Mbl1preylO0h6JRV0QM5QvQY1q3XfeFyUjyWfGA/s47/06.gif", ";((");
emo(/\s:\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtPktRA8XaFCu8PBFaeiHOep7rpP2ulnxWK-7Yq7lmllRamKzqGnY8dRoBltPtfYhPwxIATtiDY7jU6G_ztt88wHq2OtfnuKw7Uy9G9q7T_OtQs1TwKl7Rl9rl-P5IMfPufPS3qHeFZPM/s36/01.gif", ":)");
emo(/\s:-\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6xfiH9vzElyVM8Wt7sUQCBfnq96SdutIzeCJsLl5QyvRdG-V10YdeY_C2qrjGbxXqEPDTRfaaaqPcsWogFTVz1216MCB9msr7Ug10SRmVzwkPw_ibQY8SS_yWVF7nHlkloZpI6BH0Sxw/s36/02.gif", ":-)");
emo(/\s=\)\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4TyY9jLq9wTJNZFc1t5r0gzj6dgbeLkN8SEhR8y3k0nXDBXFWB-V9TQ7OAl6L2TddNoCU0wfX568ECdbR2zxdiKMjOIWu90yaY-rCTBnMNkIUJ9Mxv8NnnFRSvGAhiuGUZacyFWwv9Pg/s36/03a.gif", "=))");
emo(/\s;\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnG_5PpSroYe_Rq8es585uS-3yJDCEhb7tOdY3iPAWYVCJx63LMzy0siHDRG2ziPPNLbYGc0ddEC6oZrdkWhjShjFR6lq9ILDaVqblyLVQ8N50vwporrO2S3eAKS2TvilP_YwipZ0NHTw/s36/04.gif", ";(");
emo(/\s;-\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH5WQD6A1WI7b1l3v9JiCIiKSTSJTG1au7zM7h5N_gAlkcS-ENxP15SAMkJ6-SbdpdBq2FQnJk-wo6_fVZ42KOZUzb0de4dWG1UcQybQTkCK03DIwzgUabE__EJ2IIK3unRcFY0XWGnEc/s36/05.gif", ";-(");
emo(/\s:d/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaCfoSxyJzFR21t0iVFrfnkLpAGs4rGiRdiBfvhKPXi3x2R7gsciz_0xR4sSY9kZEnUGDPOaGcbtoueQev12ku0XcOZX-qxkl0_qfXuLsqgwKf5rHVlE0LAeg57F7BudEhn95OGB10cWc/s36/7.gif", ":d");
emo(/\s:-d/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilfIVy2oWsV8gWJWOt3mqSXTFcIw-fcfwo3j230ydeE3xqytr1Mcek3cqpfJFjUEazbHQiDtr4fuYYdhyAbAv3aKcsoRsPYd50FxFMABC41V9K8wmop9pU3G1-UN_3FovORFYCVaO0ISQ/s36/8.gif", ":-d");
emo(/\s@-\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrLDmYSqM1xbgS9rDzuCi3rFJFaYp1irUES8Z3AK_vvnTJWZwp2i8Q79ExSp4xS0Q0xaHxewFhT39PLmfuKvmOCwAveIyvNhwqfnb-5VzT5RB4PkP8SHXrssZjMkY-X7PFRWjQybglY60/s36/09.gif", "@-)");
emo(/\s:p/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ1O8LORq6n7RUvJa2o8vXCg3KaJw6aHiBbNmDHEDMqBXm8Ky_I9yYfscDlVW4KPYbEVjFcPzph7eQA8Ul0iKRJj8ZP-aRC0_IlwaH-pOAYElpGIKR0WdadgECviNZuBh_OEBLOcajKBw/s36/10.gif", ":p");
emo(/\s:o/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVPkl5urOjZIpdbNu5K6Cv829cVYP-Mto6EXvzdMFgAdTLk6OjaVnSGLZmHxMMcK-0MXLMGolC5sCGluyU4VEEq_pK67d8Ma-Cc22WlZtvsLmcE_0p58UniRYL6bAMSIWwsp-ENR6Tz9Y/s36/11.gif", ":o");
emo(/\s:>\)+/g,
"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhet9Iipk8XaHwAG1HSNLVBOVv5RPmSkJP_ur8skn6r1rFLldqY9tquFCAYn2Co8DEXAz_SXzj686AZ7Vpcw93n2BDRMayDkLBt2kHWL2VxnCMSpzpgQlxzlOS6Xigz6uMcWA2Xqg9rjE/s36/12.gif",
":>)");
emo(/\s\(o\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuAF9xCdkcfP1jm0gAIHA5OPMh2bHSJk29xDFMYOsDuuLGCyrxgSb9lNtKbIeUaLNo5xbukwq2fIT-e4AlyxfMTKQywnCCmwAjSP2ILn_ltnIJ6Ng3OV93HA6ugeRSLsI-xZPI9CT1ucY/s36/13.gif", "(o)");
emo(/\s\[-\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdcRY9Z0-qJjM9XrYJygPDEbfVwwhMBGZY_zrHBRp-BGvWY5Yn2QvWS0Z0D4_HyJpDvmjRcGddbVKagzVvRrXJ4tB2DVMdt5eJ12pjW51bcxjb1vFWa4fp-8xmoBL307TUul7Rv2yv9SU/s36/14.gif", "[-(");
emo(/\s:-\?/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP4UGXR_tTOUKPW4kuGsP0f8ZIvPu4LXUL7mi3G2DtKwaBw804dTtQXAC6RJYU7B1lNnwMlpmnBLhUzsQBwCwOZgHGEGyjtFelU5SAb2EVad-wu1lStuI4FC8E6c9HILx6Mf3lwVtIOBg/s36/15.gif", ":-?");
emo(/\s\(p\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiswqMSCM9Ux0IhSsoAEGsY3aQZwNw6Di1vul60w817Rw2AUAcqUH-7p9LUMKq-hN4QWvKE3hnvbr1sePKn9YGvNOIsf7WeUPaI8YKD4Hzumni7zjs9HjARTpZOyiPnQInrnRCxgnInJ0c/s36/16.gif", "(p)");
emo(/\s:-s/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgINpYGwdUHjbHo5ux5_AOhXHR46AzIJuFPbr1bX3OfvZkFJikhOzyQfXQ9QJJcURaFUBDvcQL0RVbMTvtTkB_I1FdLkkl3jwq41xcLzWngUZNHQidjurGxHAoMv7MVjdQe2g5mviLC6BE/s36/17.gif", ":-s");
emo(/\s\(m\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZX14RdMry05__X-Pf-NO7ozaTBNfMHS0TubPs9HnnASEf6TbD2s7aMSzec9R8s6-aE8Jiy_bupRsfBp6IJ61pvMa5ClZ8ThANJU3Z6dffPg8T8lAl8EUbKJ4ANMMLKvPzeKrVPvhPSrE/s36/18.gif", "(m)");
emo(/\s8-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSQZD1Djf3IJk9_eNLh8WMhRlAxC6j6Z_yP3bodublJNX42zvdRGvlH6rTJU51fX9EF4Uh_3sQ54GtlYUJFOuG9iwccQtiwTsr_s38Qu-47bZ1kpWW1pRre_HrKeOv6pjPlHHshPrmPm0/s36/19.gif", "8-)");
emo(/\s:-t/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmMHl9aBeOPTeHzaWnlJKtqi4UXqxCDsugUvpLrlT6rs17m7v5A6vavBji7QLK4y8oou1uhB5WGRfe5_ykFltXLjLH11l950_5MkWlwQ64lqRw_h2izktNqfY-i34c_wtOjgNWuJvRVfM/s36/20.gif", ":-t");
emo(/\s:-b/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjonCi3Jsw5-X37wHQOrmbFbBQjQ_gX31XHQ1VueWviM_C4qQOkHINk8aD6hbTT0HUOpxVjXXRXP0xJT3pVo79kzxhc8nPTOzEIs6CC493V5HYn0_Rl-tAiuIHbJRa_o3QZaaBbMMgEsjk/s36/21.gif", ":-b");
emo(/\sb-\(+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGrMF-jV7p3VqBtQOHDDyc-h7d8OyjRPA_St62dGRYdqNHz7w3iyAMdiD-dnL72QHWIbbU7NdFF62F0eSVCa0bn54wUwSm7XeYoowIpJyDdxwRQu-UaI19LIS8_cvnskZaZcOSxS5Oi0s/s35/22.gif", "b-(");
emo(/\s:-#/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR9R69VyBDgx5akRfQxoBoOkcWrbWF8dHa4V-fsBz5b-E1i_gVpM8f6Us_cc8eF8tfqwxrdKEvkYSYUPsrF8innkAhU_zCV3tc1OAtiVxmBoRN5Z0ipCPO3E2wInonrUk6OImGiXTfFHs/s36/23.gif", ":-#");
emo(/\s=p~/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxp7RZ_oqcDzscBGJyDuuX7H_za3_ZYAm-ZDP4iNJyC0S1fXxu2RmrUIfmPDDHwPC1i8Gl4ZGUoCsdb6FHKDCYnXfIdwLBiuEY3h5fLTG9m6go-MjeknD-VrvrGT9_qWuFo6YHAGpoXA/s36/24.gif", "=p~");
emo(/\s\$-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhEHBMm1i44sSnJUvNKYMIEdj0AsgksAXfDqQq3jMrD6NkWGWQQUFPiN0k9q9kJTDv7Gh-ja7Em2zRjinipPbUTw-blrYE-Qrp-5cym6HIwGeAspFaM4IihuONwRS_2cXJeh_6usgodSY/s36/25.gif", "$-)");
emo(/\s\(b\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWwmpel4R9GOAVJ3ZmR4_T_pqSiZKCQwtSFF3xJRHWwEIpm53Pr62A7Ub18QV3EPyhK5mSWUrckqI7bTCr9XzB8SIyo8xOGb9kMPphnUhfd-qWCwva9pgOwwIAt-QLqVkMMrq_Q9bBqd8/s36/26.gif", "(b)");
emo(/\s\(f\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtR5IYDDYQS4-f0aTZ5Lu_D2Uitu6EVLSwAhqaICQRbAIvorOibWdUNxQx8Y0zsdXkkLcWn0Sk_DFZA0Z5PG9b4dbIXsXFTlmvZavJpHep3syGrn_Hay-ZijqfyJddlCK6-pVpVC1P7Wc/s36/27.gif'", "(f)");
emo(/\sx-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5vBILAwoinApq3MceyQyrag9mam9weDsDuEWRSGyi_o-87g7Pb4FMsM78cVlJewewF3GoplCNAaiJq2SC-vQ12L9vhzOf-qTcDaOdN_GPVQH2gCkXPQuZB0AGEhTZOwJ622qeO592fpY/s36/28.gif", "x-)");
emo(/\s\(k\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHlGw5HiduIV01ye7xK8TFlq0_d_6rh3p7InQhijh21uXbXSr3OXbQrtejwR0JeEd_0yP0eggU9u4owbqmFhcFOiEwohQVTwucTZ1-U4bul0yoshJzy-15tIxS53BPRg61qEQpmKX2lRo/s36/29.gif", "(k)");
emo(/\s\(h\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaYw5s4pgNGGvoeLfypgYdjgQ5Nh89OiviG8gVxyr7YvCE9fqdBslimv_Bos9ZiNcE25AABlR2CYicvGHaQ6jX-nUyhNhnAEczr2-Rj0iptx7NWco4Ji5LngArqJS7fZF9oO-EqJ8FrC8/s36/30.gif", "(h)");
emo(/\s\(c\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaTGuHXgxQEveUjOkYbJOr5ukGHpHTD0JpFnHIo9QjmNYW8byfI0XuIbuHIb5bctCkWnYMb0Qp_duqn7nBL0eHFEawHQfRCRmmMae3xG-YgiLkjL0_u-AwjftAIC7T5ETwU7hOHBy3Vzc/s36/31.gif", "(c)");
emo(/\scheer/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTjpfPe9P1j_kXVab8sBf0CyLJeUWXQDJjiq7WQaMYSbiHdyBCAifVGJkLdJXCdACDaqLs8apa-NQPnBZ6F-71k7xu7EQ5T6Vln_VdMzqSpbpoDUKXHpkPQfzpqZBOD3x2MRLn4z164AI/s36/32.gif", "cheer");
// Show alert one times!
$('div.emoWrap')
.one("click", function() {
if (emoMessage) {
alert(emoMessage);
}
});
// Click to show the code!
$('.emo')
.css('cursor', 'pointer')
.live("click", function(e) {
$('.emoKey')
.remove();
$(this)
.after('<input class="emoKey" type="text" size="' + this.alt.length + '" value=" ' + this.alt + '" />');
$('.emoKey')
.trigger("select");
e.stopPropagation();
});
$('.emoKey')
.live("click", function() {
$(this)
.focus()
.select();
});
});
//]]>
</script>
</b:if>
- Paste DI ATAS/SEBELUM kode yang kamu cari tadi
- Sekarang, cari kode ]]></b:skin>
- Udah ketemu? Copy kode ini :
.emoWrap{ background:#aaa; border: 1px dashed #000; margin:5px; padding:10px;}
- Paste DIATAS/SEBELUM kode yang kamu cari tadi
- Save
 Labels: ♫ Tutorial, comment
|
<$BlogCommentBody$>
<$BlogCommentDeleteIcon$>