http://trikkuampuh.blogspot.com/. Contoh laman HTML
SELAMAT DATANG DI BLOG KAMI "NIKI TRIK KULO"

Cara Memasang Emotion Keren Pada Komentar Blog Versi 2

Cara Memasang Emotion Keren Pada Komentar Blog Versi 2 – Tutorial blogging kali ini akan membahas bagaimana cara memasang emotion pada komentar di blog yang mana tujan pemasangan emotion itu sendiri kurang lebih agar pengunjung yang singgah di blog sobat dapat tertarik untuk berkomentar pada postingan yang telah sobat buat.

Cara Memasang Emotion Keren Pada Komentar Blog Versi 2
Melanjutkan tutorial yang sebelumnya yakni Cara Mudah Memasang Emotion Otomatis Pada Komentar Blog hanya saja karakter emotion untuk kali ini bisa dibilang lebih greget atau lebih keren di bandingkan dengan karakter emotion yang dulu.
Bagi sobat yang tertarik untuk memasang maupun mengganti emotion di blognya maka saya jamin deh blog sobat akan tambah lebih keren tentunya semakin seo.
Cara memasang emotion pada komentar blog:
1. Login ke akun blogger sobat atau klik disini
2. Pada Dashboard pilih Template » Edit HTML
3. Cari kode </body> kemudian letakkan code berikut tepat di atasnya
<b:if cond='data:blog.pageType == &quot;item&quot;'>   
<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 :&gt;) (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/AVvXsEikaJJtt5Vmbn3k8gBHXkBrkc5mHdSlyMtwKonEZcrwJ4BNhsuLnSvKdt5414_PZNkuGblxcnjOzJkIyZ49cXSKPCkwxhhOf1rr9QWxyjzl2hT6IWQmTee8cBVg6rER92sDGZZ6RPbyGr4/s36/03.gif", ":))");
    emo(/\s;\(\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFHESOmqzQbqLMbBX9JYoEwz03tx-sLonNl18AU__XmPQ6T9-uI1GNEnd0KFiStH6EudoZrgEAOhLwOw0ROuxbkikOfm7D0D4knYJOCLpV02qF2wdMtycP7tzWHXbqVbAAr_FGak5TvWw/s47/06.gif", ";((");
    emo(/\s:\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDTg7FG6_9pTOpn2TiQ7Ke7pCchlkan6v5kZunGhD0fpR-ggAVqKgq78Rl2GYp-rvETVdFGMpGqp0YrjFrJ_N100uNY-iQj8pmyvjGYpYEnwCXdh2xce66JvEdiLVNfPlwVbgAMBWqcWg/s36/01.gif", ":)");
    emo(/\s:-\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJpehZDU-6YsY4H-SrdWJJeLFj-4eMc_1qpYBKbBswAIDSbiveC32ERYgdsfQ3yp5HVcdTQu_qBu364BupOHWc2S9ETJCtAwDPVz61ZjGXL16sp7X4LvfnV9rRudX3Nyif9kq2xXG1PRQ/s36/02.gif", ":-)");
    emo(/\s=\)\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVfmg8EdGh8bwmKvMzi9mGyYBH5pgSxWhtiY7bmQx7SlI4oEfGhfftnyktw-_3cicpqRXd2PDcTldyEE6-jbBnbXoxTxyUMo6iPbqZKLs5BySlIbROtibgVKp_mfr-6HzXfu5kh-wjx3g/s36/03a.gif", "=))");
    emo(/\s;\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWV3igvKZCG6_pKsijE1nFNEQM6RkUlAKr95p8T37GqbROUijbA85lSS6pD-IpkfZnj687FFC_syMjjd_zIzJ6-7Y4DzeOf89KDPfn2CMO2hnaOY-93qfRrdzpLPrjXJT8tF3vvbb1EQ4/s36/04.gif", ";(");
    emo(/\s;-\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdDHVewvBqXstX8ErEgUiZb2LNTPlXHuuKAih1qeDJ26UULA1qSIeymtFKWEZcG1XlyU6l7c9zzv4kpEOSNqZlZFf1HF41cokXsgBOwvHOEvl3MaW93Bhzj_rOVDZ7krnST_SiytwWojk/s36/05.gif", ";-(");
    emo(/\s:d/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-FZYVjvHOKNESwsYCvtTpWlyAVT0w3l3Pn2kVzB1Lny4zVHRDC1Eef9nxMcLky_6XrEuBFZ-TR6lBnz6V-R5c8yLcuQdr_lDjUUlV7IyyVOKhwuyUTrSbMOkfmnT9xrVloYhOuOPOCIs/s36/7.gif", ":d");
    emo(/\s:-d/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7_pgemlwFJa48kkFnBK5R9LAW3EA6voFp3A1vjb-d5peSmBIR9WmAc72LweF7wLJY2hUPXr5EDGlsacy_agEGQ2IInu36J6AcH_D0h1FhQQTsk7QvSMgBXKGJnI-HICPgy03NogZnkyM/s36/8.gif", ":-d");
    emo(/\s@-\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh67dApiC-jL9MlEfOhKKLqca7kWCNpblifgpy9ETKAj9n0fg10WnDgEzuwx1Bug7E-T3lmTIT5RJC-TmPPCguADOmck_-1ihDpX2uwAO0zYaFsqlRWwW-5Gu4LA0bNpA6VJ-kxTxxRV8A/s36/09.gif", "@-)");
    emo(/\s:p/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1iwHVBTelqBfqDBPBWOcY5x9Xh7Bgpeny7lkXjdHzJ0rDK1IxBZa3qnIpJJVY-mccDxaCi0NjzyuC88Jz4dygXOrN6Fv6tt51WMMj2fhOnaa1xMaXpWzCxO4TS3C8GTTaSMXXvvV4QXM/s36/10.gif", ":p");
    emo(/\s:o/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkfpjBYYXOQnKBNmMDlm1Th3jWVt73_LosGl5FkcI80PNEaAW4-Gg4N0-3l1FLUvnnmlI3ik9VF1Iu2p3n48odYDqxNaZ3WY47RmRBSmbXjAFdg9coKPhgYYKffEJ2hin0qUzqm1OcIBg/s36/11.gif", ":o");
    emo(/\s:&gt;\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMRjI3xuT7VtL-kpwHbKfKAgv-NZlpa189UKNULjBt4JAYItk4CPjJz6GLjvUqzZ_GU_7At7N6yuMx01YujuKDXJyYNOdW9iV4yAOeBz2VqYbda9Cl-LhYvzYGXf0CbmTkHR0d5HedaTk/s36/12.gif", ":&gt;)");
    emo(/\s\(o\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPjsyh2fr5DpaWrbpfXQPYCgEAZUt9P2z2_9WYl2KyvVbz5KkZYItj3yOr7ECumz2Ft4uwBPDawSgcjN63WLMwlI-lmKDSoN5VMZ6FT19FDu7aqgnFLV1tES4ZVKGk6k6_P3in9csp07I/s36/13.gif", "(o)");
    emo(/\s\[-\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPY8nCae2KPbBRh7AxX2hPhYuyl6JHJ8Ae61waqDTI-cZwHaNIAtMucqRNnRb3Q5UI9LRs88SpDxt1AtSFhD02ZsUV9PxVLuz879TWDJPZsxXv5eJUW5b7TpEQXZaedQtbh3HkLd1z-no/s36/14.gif", "[-(");
    emo(/\s:-\?/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiYgzFPPQUqZwwcL3QjPtvVscIccbvOQEOSke4lslZwOBCiz5uPrnjiGUIm0UQq1ByuRpyI1P9-ogG92VEOON9O2q58xYIhIt1uy8aI1ccMsRWsa8Q52Agqn5m9N6oV3KEdd7Tyoit5P4/s36/15.gif", ":-?");
    emo(/\s\(p\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxuoBx0DHjU9uOfzkLSOML0Uir8d80zSOYgzWgRRtG8g1fudsVw5stiBJ_B0ShavFDtIVX0w2dUuVqWWgxmQkNzbkgA6m7G2g5B9hE2B3hXUK9DLuM9VRmiI1Zi5sROHoBFFrIfIqIPMk/s36/16.gif", "(p)");
    emo(/\s:-s/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBA7Qdfgsgip9n2o1HdhSKMTQrd18ezr_Q9E8o8Y52Laqk2ePVgxiNIuJ_ArDjL3xDpf5cnoZ1DRUhzcsfK-lMlfr4w5tiKBt4IwvJFpDvsrSWTLz3wkPt0fxFjhCMBxGgiZ8675WlVbw/s36/17.gif", ":-s");
    emo(/\s\(m\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRTEM5uxy0Ls_pBV0n20pvjwRm3Rtd6sEnT7gZqs_UIJQIIXvtN0l8drWd3-sHgUaQm4sFLI95wGnh4n9OaDWtgYEQF-kw-brGzMNS_xAmvKmrRi9-LPNdhHdGVMX6jvCvGh9r713Gnt0/s36/18.gif", "(m)");
    emo(/\s8-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisSgY6fdy4jCzUQBR_nY7UyDd5K1YFYcceaoF6RwGYOUDvMmKv-t4U4Y93krF6lD_jsyt96L4Gy6UhnrlzrAvTaGEQMtBuNZknQHzoCMOZdeWXWKBZVOCVvI_Jt13SMmLGUrTTsw9_iIM/s36/19.gif", "8-)");
    emo(/\s:-t/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ceb7DnquehaKcLHSPlx1Cv8b9eBUsWoqjt9d-fLd7taX0TKaWpV6UXg9Rx4rjhM9Bm76TSVE1MOPfhAPPK0A1B5T5JK0fziGclcKbY5lhd9Gs_ZdPs2PJ_gTOU2HfQZGU9Oytsem2dI/s36/20.gif", ":-t");
    emo(/\s:-b/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXIVyN3-7uk8fMxsE6jqD3nAoa6g2xgnWAsdPSRyFNIexVfeY7yK-SIotKJlLeCsNlv-2SPxIukoX4LUbC-JYfFMP9_AhNgkTh7qqD4WamMtB4YfsWRCIhK3Co8kU-wKdC81-hcQHoSUA/s36/21.gif", ":-b");
    emo(/\sb-\(+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_ClbFrwSCwi9rTRSQBIaKnmFY70p-hMxxPRenuiVepSQjrl4QP57DF_iIG9uwx7j28r9ffDppZp1XWatqLfwD835OFB5HflYMkVRM6b1Oi_Jhhf_DRC_lw7dpWwRF-YO8TH5U4Da0SXM/s35/22.gif", "b-(");
    emo(/\s:-#/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_qK9PsujQeUZ35AaefSmp3I3s33jnTflpyPL7JsiEfPz4WEF-tMJCUp4xoB9O6zlCuoNwbL0zwI7uIxxI9DKttVrKgtca7eJrf9rsfsJAseMZWm7BnuZmdDnzvIGzZaMnW2YVQiupgNg/s36/23.gif", ":-#");
    emo(/\s=p~/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2YVTJ-BCmqWdcBVtoQtELOJyg2Mh8NnblejvmmaKJ-MyWzdQnDyGQ_JdQxlWmSX0J0cqdWyFY0L3lGqoEE4cF15PpwvIc3qfPyB90feDfLpcHtgJNBnbWO1-VZWNMk6eTaSyMqHH-EKE/s36/24.gif", "=p~");
    emo(/\s\$-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio43Cl4TgpUmWRD414VmSQSQ-VOoGwKKcy__3Yquml6awnpEQXcfQgEnyrnKfJNtiuLdNlZFi3IBLGMsrd8LxtSGpwe8BMCtj16ycU9QxZTuh14ULLyr-x2dUSbihGVWZJFuczRrvtFZg/s36/25.gif", "$-)");
    emo(/\s\(b\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc-2bzThj8UIx19UdUH8BbyFSM7rYr0RFD100VAaP-tQWoshSYm0aD4XXrFpDFSrlb4mudTEGmCfcQj-00pDmx70ZJ0n3dROt4g7ZBT3gqn1DDbNsVJCEKlJKhE-e6KA9oktWv1TOME0Y/s36/26.gif", "(b)");
    emo(/\s\(f\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg97-4To5QuAxDZiyxPNoq2sJEoNvvt7VVWha6juW76jM0MozHCEaR8z4ieeBv6jZ-OyKpEjXTo8dX6ABQsqKH6wzaFYzyF3KjCKh0aYaz3aYHwEgSpRRO3ujiXRWbIwYbLEit1G9RDOo/s36/27.gif'", "(f)");
    emo(/\sx-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiine1n5hS55WIvWHumdMSlZCqGIiO4HoWQzypLgjhJI_htgu-z3cDOZqtDr2Vjo_d9Rr1EnS53Kynuc_S7VGzJA4mmHsmpFI05Lnn5YPUqBdhEU8n6J63q4VLqDGQ_f49vD9fQ-SegggI/s36/28.gif", "x-)");
    emo(/\s\(k\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI6juBio1jCuGuXsHTJyQowqXrWm-574IwPivZpnl-8ZIl54nykjjNRMgTLnWSbadcFix8hnipxkVNjGvhlZzFvh4-qkVQJ5Ecz4BAZIb4FjSRRxzCxGSo9SMPYyjqZZR-Dxknh5ByrEw/s36/29.gif", "(k)");
    emo(/\s\(h\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw1bhkOGMDw1xdzQHJHxCi87rXzS6eOfj2Li4Y9ikaegLI-sPn-gw3DScxZsD5y2PF8bJvzIzPpulz6EX3IRUmPmrxCaIcjVVJC8A9uri62_lnobHP2G3OQHabzgPvJMgYFZIj2mPYxzw/s36/30.gif", "(h)");
    emo(/\s\(c\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9_quLDyaBaRTwh1Dsxy2cMj88nS8THYyw0_OmNF_dNP0Xd4RI9BRGTbW0sVirMPY89aE6EPNhaJUZkkqEdv0GCTftQvyKNn4HFhD84-5bE7tfJQKKNQZ65FlcsR4dOAni-vZCXqhM52g/s36/31.gif", "(c)");
    emo(/\scheer/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJohf_9xqeAqiKcjWbTugNvIkV05Q7W4xEsxS3rh9PMumeWGiZyrCTEKPfFHU-sSzgPvWhIPCkEaijkGTaTEN2ZyD4VzPuRjDvDUGuLCdZSsX4FkfVWkhiw0r3Wk_xVVNCdgLFcND-L7A/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>
4. Untuk memperindah tampilannya baik dengan mengubah background maupun memberikan border silahkah sobat cari code ]]></b:skin> dan letakkan code berikut ini di atasnya.
.emoWrap{ background:#ccc; border: 1px solid #333; margin:5px; padding:10px;}
Gimana sobat mudahkan cara pemasangan emotion pada komentar di blog? Oleh karena itu saya berharap satu klik tombol g+1 buat admin agar untuk kedepannya blog ini semakin maju dan berkembang. Terimakasih :)

Tidak ada komentar:

Posting Komentar

Flag Counter