cara paling mudah membuat pilihan emotikon di blog

Hello sahabat kuyalamban, salam hangat dari kami semoga anda merasa nyaman berada di blog ini.
seperti pada judul di atas kali ini kita akn embuata pilihan emotikon di atas komentar di blog.

emotikon merupakan hal yang sering di pakai dalam pengungkapan perasaan pada saat berkomentar atau sedang melakukan chating. baik itu perasaan senang, sedih, ketawa dan sebagainya. dengan adanya emotikon ini percakapan serasa lebih hidup sehingga tidak monoton dan tidak cepat bosa.

begitujuga dengan penggunaannya di dalam blog, emotikon ini di gunakan agar orang yang membaca lebih tertarik lagi sehingga di merasa betah berada di blog kita.

baiklah kita langsung saja ke cara pembuatannya.

1. pertama masuk dulu ke dasbor blog anda
2. pilih TEMPLATE dan pilih EDIT HTML
3. cari kode </body>
4. masukan kode berikut di atas kode </body>
<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/AVvXsEhivM2o54oHhj_H_HJklffF3o4L3bk33nDWsJQtOZGESFRRoyShbMBZZOY80uayyfmU1lUmyljOw9GBOAmKz3XQrMIPxIniil86_50aSJbfbFREMV1G0NQ7gLSnZBOMWDh8ZX0jV6Z_lbU/s36/03.gif", ":))");
    emo(/\s;\(\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-ahBvkErfNhmaL3SslpAMpRioWCi76xr3_3CLuD56ByBZCCNhneWuU0OWbJWZy1GSJqXok6-TFKYP2-HxB6YOSa6JxxKvm7AuijHXQsKA2D0EjITvYflsJsH4ubBaZElw2iHKlj0WuuI/s47/06.gif", ";((");
    emo(/\s:\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-6b7DyNqH9vqW8S4noj6RoVClecw0S7D9KzJdBn-tCZ3GCGHIrUfU5YF0GcU_4jhih4n0Qc57qxzvI9jC4vLfK_Pdi9SWThjYI6px9tovMzyOBSYyVtQIXnsFS0eGgj0X_wwIWbRbBNA/s36/01.gif", ":)");
    emo(/\s:-\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGkRsTWvs_NcDu8-AFjAvzLERY_oEYmMycEqOtthcNxIukzUc0mJtqXr1029wuW0MYp3ax1QbQEFlkRFM6qp6e09Zjv7G37B_cVTEXY6QHZADECDEtvnZfuajmG1pxgxpGprs_7CQNFyo/s36/02.gif", ":-)");
    emo(/\s=\)\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8_QYWZl-mvxQfjhIPHlNlRrXw2N7w5N6zF8UnxuWYCHmSj83jN12C6Y9YVcF9v4y0R2BClzawB6IiPBK2fBtcFPFHVhPIW4J1JlTa6WieTkB-lGWkJ0jHgzBGNMqfSFHXULpF94Mf-Xs/s36/03a.gif", "=))");
    emo(/\s;\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh73tQeZS7WG_eYY01WzWPYu7XzKdC3F0yG2FdYtO-P6Hbuq-iVHPUUGi3-O4Q9s61iYeAgci-j6yjsqSyhKm-hqGYSHBCwLg5VuLlf4b7B4rswl4zV1tXda7FeF5AVYqYzckf-wI7HNXU/s36/04.gif", ";(");
    emo(/\s;-\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZi_5qT-Gimpo5UFCl27bEr3kdL96gZAG0C-lcVhRwEzS73s8lUxyIl2I6__EYvgI0FYok9Qv1CexhFJe_mST_Tn6WymlFggh8C0KWTpez0_y843Pd8gKdx0xjGHsiMM2J2t90w71BE6c/s36/05.gif", ";-(");
    emo(/\s:d/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVZWjybzEBiI4Y8YF_okYEI-mGzgcR6nE_aoprjKOy886-hhtp33nfR90Ynaxveo9bkvMQxJPP26Cu9RdVqtonU_0xVv-4hamRr9lyJs8j4XxzTr_hnb2e5owX90Yelb6zJlN3CVi6NIo/s36/7.gif", ":d");
    emo(/\s:-d/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir89QEEUn8Yd7DmwlSJU2CxiwViRAp7guwJJJBmQ5xctn3kaTII7CcI5kWy_Oo1T4_Tu8YWfTSzEHewEDbYd2wIPf7V7wneFI4FL8eh454HHjpF9qXQHUAVUIp6Ifhjq-P0T1TPtw5ksE/s36/8.gif", ":-d");
    emo(/\s@-\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwmWvzayj3pJ8s0kNZFpc_Y_Xna_og8DGQKp7DfZtv2d-cKjxuw2A4gJg3nKhrA7zbacX6C2i6bqgOWETXk3XfIArZBaLVl4jIO_u8wudHgW2AyPJ2v1htaUjTuxKWJvuNZymCexT1cCQ/s36/09.gif", "@-)");
    emo(/\s:p/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfhimln_uCic8xxLC3RhU1SiGcEGjfaJ9peBCxObvNEnaH4G4EUDOkybjxkUfQnKxQhOYMstWJtynNOHUXc6g3rnwjYpJWSunLx-3G8P8o9Wux50qYbUyxv7cnO63jnHfCZG1s31UQal4/s36/10.gif", ":p");
    emo(/\s:o/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvHimrncTUdVBniXaoBtRzXN-MSfCSYtyWFI3KBIbg3Zlmw7FRwvINfqDqTJNRIRzWoqj7RMrlu3jc9MQlyCjM0vAl8pWoB0w266LPWumiAPjeznbKfM6KjVHSGdzosAA1QlnTroKkLz0/s36/11.gif", ":o");
    emo(/\s:&gt;\)+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdlIbi11FaBoDikarKuBkvwWHiXcfiY2IuDPk5DP07ww2LTXedDtAuA57qs9njXwrfOQVSnYpdjIj1lqQl3JBhyphenhyphenb5jB8dqlcjMuk92CYvGkgcv2Iwh5Nm-A-XMb_Hk2AqXVp8qzBDtMkg/s36/12.gif", ":&gt;)");
    emo(/\s\(o\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWN5WlWi9NeFuy_l5dResQquIYXlflQ1k_ki2uxoC8s4U7-D6hiIfgiyzs-0XBte3mTZoVJzRcII53n__4-qc_UcwEXpZzGGnXc0x5V66PkTxaFHQZVQo9uLkwEskZz4QJDxfOolrjf_M/s36/13.gif", "(o)");
    emo(/\s\[-\(+/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSiV3hXBoN5eJQCwMLgudKrHd-t1oFomvFjopI5DV418OzQT3v-wD70hlqRv-7ATHHIaU6khhxDFPWPhcWUCW8aH5Lb5k_d92vV5ATYrgBSzw3x-COhFNIkeI5aJ5PDOdJHp-8L9MC1vc/s36/14.gif", "[-(");
    emo(/\s:-\?/g, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqjPGhtUlikx9a555zInJ5-4Zy02I0LDlZVYmHTAx88Eymqhq8UTWoesVQV8waLhfZyPb_TDPMOkIvVmLLYZxCQaAzcP_8M3LFjefbNyrHjLMvb8uJIkfNBrVaZoHvKlcjeBmUjPmP0aw/s36/15.gif", ":-?");
    emo(/\s\(p\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8kQf4lUdjjMWRFrt2GfoLDYpUDq0imd6P_IFqI5DPI6kjWazMx3ckcWzPUu6rapN_pDgJxTe46Yc1tUKl7qLWbxb9lQmZLWi8FTAei1S7zkE287P6iIkjsdcLc1pxztmpVGStxP4ok6I/s36/16.gif", "(p)");
    emo(/\s:-s/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF-G2rkvDd_iCuP2HIexBpZwaU7DQ6x7Z_N6klX_SotQUZeAUVaNknkj-UldeO-20pI7vFjqeH2horFFF8YZtCMcm_eeUMQcs_cIlDc1K2eEYWBLkbtwISX0qMeUqBbc37jjA0A5lJR6U/s36/17.gif", ":-s");
    emo(/\s\(m\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQLIykjJOFvhqrzKbrgm8Ly8AIswHPLjpo-9FnAt5JJhixj1VJwFoJ35YfoW4BZc00idfVbzrS0OmELl-26x2SuVOuWVigztB3StmlIFhlyPrN8SgZRcaff7JSZ5nMvBzzXbWRUWoccBs/s36/18.gif", "(m)");
    emo(/\s8-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRky7Qzjstwey8AX0f7r6gOasLvC9nQ6iLYRzjS0SkYkUUoDLrYUhGS_uJJuWKF6DlAOWYx-AyMghhKckeEEWmnHTDqEoz6onquGRmCkiMSHEp7Ni5mN8-6S0g1QpV2BPN-BbyZLonZvg/s36/19.gif", "8-)");
    emo(/\s:-t/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh88bjeVA73LK8zauVfsgIYhBoYSiilbVHltuAb5my0FPk32pu1Wze4uBWgZv8Hw8nxpNlcVamE2bMCWZ89FYr1sG6b7nhM3bmPZsteIiUC9koXSK_RT2YRj4HHWYqiSrcLcrQEvR2ejIQ/s36/20.gif", ":-t");
    emo(/\s:-b/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKK8dYcmC7tzqiZWr9jNk6LO7DcsQHbOV1CXFr57UXVowfP1WnW-T-mY7ljEV3-Vij8ai6xaHKyQcGM85jHx1UuGbA1kVGQn351IeWXDLkFT7R4XyuMyKiCsPGrBr3wTzsOAbYBK8vj7c/s36/21.gif", ":-b");
    emo(/\sb-\(+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuovcmhyphenhyphennrwRVnQPTN3tYDSZoeXM0oWfFtc5KQalLH01-ES2O3SooCtaGzFCSfWgA58M_W219Z81dKWeB9EE6NO_wDQZyduc5Espf-KWVlLgKnoIaAJHcM0EAJyu0j6tuNmtzJVvelztw/s35/22.gif", "b-(");
    emo(/\s:-#/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAU1FrbWEU2g3SxPOHAVvee5pJyLOKTc6hA2q08H24z9VOr157K-iTldo1Uva5ewYXz_TiCCrYu6NcQwP0ws_artoypGBTe5RXILrHP_yzxlxvAC6zvGngZU8Fr2zvESf_b4EO_7oQqRk/s36/23.gif", ":-#");
    emo(/\s=p~/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnuEBRyaAs8uS0uIxh3yqJbl_eazrg-XZ_QX-o5iOOXnBkzig020SIa0KR57ms1SxLR3KJp0AYc3LDZD0Cz8zFBDjIfJzc-YZpBXgp_QxMtGh7xD_z8ktHQTEQRhMzK4kwZNvStNFZ6K0/s36/24.gif", "=p~");
    emo(/\s\$-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcQKZBk_wlBumY_T4Av03OGaHWLzk9QCMBWWprexG85QSdtj5dj9zYruu80dkWl9VT823o6Aq9uyKVogfLRFC1tFG215HMMKQ6hb6-DNSUG9uy9SU3n5VKfTEIwLpao_Fj14P3tT6L7vw/s36/25.gif", "$-)");
    emo(/\s\(b\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgexXu7hyphenhyphenae8leVJ2oezIBnIbzMAMMeqi2OY8O0FDW1TyBEQgfG1wnSv3gtdjj5SWmEjv3dPJOM35Z_EULZgqeoBkmL_cOUxj82a-pmlVz2grU6fuGUtswD_JdupT-zS4C7bgfpJjqgZ2k/s36/26.gif", "(b)");
    emo(/\s\(f\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0YHS0WxbyzJsOUPxryX5Wq-gagOoR6rHEGq7WYhy_KnzlmT3s5AKNP38gq5uuSf2rEIQgY9s2m6rWTsLFCZnGPAk9E9wbE7cGWrtq3K6F6T2zMgVOAfMzOVV2TBhGWxIvwDYI6BIB82Y/s36/27.gif'", "(f)");
    emo(/\sx-\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTXXS0uylWERXilp-8cUhVOW2SuiYZ_I8G5zLsfrOxc3P9mBS-langOCpuOP88GyAsF2NqJmTgH1uLs72cIa8j4c-FZavZ7L7UR9sBIG0yrqNMhWmHbvUKYDpwRn-hm91A6za1j5wEkJs/s36/28.gif", "x-)");
    emo(/\s\(k\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOvGP6xvviXSOjp462-RqQ1HMhtgp45YW1J5EGuc-Y6sOYVIqpRHMu1fo_S5JiFpPB_cl88zp5alMajRYhgEC-7dd4CvGFIoNl-LntOKdjccKMhD8w5o0Tq220_H3Y9QKNL80fvcLTsuA/s36/29.gif", "(k)");
    emo(/\s\(h\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6sQuBj2iuV7Xjyvxf9UquYTuZXYa8VvOO4NMB5VR_83IW0xUaepSjQtcdrRXxGboTsTbeMNaeKRB2QNY_FrvOMYlUt-UEfmDxC2KgnoVXKES5wP10RXaE2Kl6OGK5oN8SfljFhF81_J4/s36/30.gif", "(h)");
    emo(/\s\(c\)+/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzkbq1UpJo6gWHVX-LV-uU66DFjjd_R_kKcZbydMC6J7rCHlxjtoVMXz7uoZhzr7V4oDYgcbWnttcYygEmshnanPrD-Q5IU4cAwdQm4eiXslLubz7e7FYmWW0zFTcZfo8T0CdBhyphenhyphenhaTik/s36/31.gif", "(c)");
    emo(/\scheer/ig, "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXYmKnqimvm1cLCcpxOy1NeiAjFWw5OMj2Z0moH45_DI_2UR1XFTv4iF335fUBAJo0rxY6E9XOTFFlMlz4mw6uiUaOudu6bE4R3lEiZ9A8TZLkqQWQYKYlhUfcEdLcGdo6i6ySJKjCbqk/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>

dan untuk membuat tampilannya lebih menarik, masukan kode berikut di atas kode [[></b:skin>
.emoWrap{ background:#ccc; border: 1px solid #333; margin:5px; padding:10px;}

cukup mudah bukan??..baiklah karena tutorial singkat ini sudah selesai, cukup sekian untuk kali ini, semoga bermanfaat.

salam hangat
admin kuyalamban

0 Response to "cara paling mudah membuat pilihan emotikon di blog"

Post a Comment

suatu kehormatan bagi kami, jika anda mau berkomentar mengenai BLOG ataupun ARTIKEL di blog ini.