EMS Sony Ericsson Emotikon di Blog Anda

Sebuah pesan masuk ke ponsel saya beberapa tahun yang lalu (sudah lama ya :). SMS? sepertinya bukan. Apa mungkin MMS? terlalu sederhana bila dianggap MMS. Pesan tersebut hanya berisi beberapa kata dengan sebuah gambar bergerak yang mewakili emosi sang pengirim pesan (yang selanjutnya saya ketahui sebagai sebuah emotikon). Usut punya usut, ternyata pesan tersebut adalah EMS (Enhanced Messaging Service). Apa itu EMS? Kita simpan dulu pertanyaan tersebut. Mungkin Anda (pengguna ponsel Sony Ericsson tentunya) telah akrab dengan emotikon-emotikon pada gambar di bawah. Benar, gambar-gambar bergerak tersebut merupakan emotikon default pada fasilitas EMS ponsel Sony Ericsson. Lalu bagaimana cara memasang di blog?

emoticon sony ericsson


Langsung saja

Langkah 1
Tuju halaman Edit HTML, Beri tanda centang pada kotak "expand widget template"

Langkah 2
Letakkan script berikut sebelum kode </body>

<!-- emot SE -->
<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') == 'comment-body') {
_str = b.item(i).innerHTML.replace(/:o/gi, "<img alt=':SE' src='http://i714.photobucket.com/albums/ww141/Ardhiansyam/Emot/sony.png' class='smiley'/>");
_str = _str.replace(/:D/gi, "<img alt=':ngakak' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Laughter.gif' class='smiley'/>");
_str = _str.replace(/:x/gi,"<img alt=':cium' src='http://i714.photobucket.com/albums/ww141/Ardhiansyam/Emot/Kiss.gif' class='smiley'/>");
_str = _str.replace(/:p/gi, "<img alt=':melet' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Tongue.gif' class='smiley'/>");

_str = _str.replace(/;\;\)/gi, "<img alt=':kagum' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Wow.gif' class='smiley'/>");
_str = _str.replace(/x\(/gi, "<img alt=':marah' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Angry.gif' class='smiley'/>");
_str = _str.replace(/:\?/gi, "<img alt=':bingung' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Confused.gif' class='smiley'/>");
_str = _str.replace(/:@/gi, "<img alt=':iblis' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Devil.gif' class='smiley'/>");
_str = _str.replace(/:\~/gi, "<img alt=':skeptik' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Sceptical.gif' class='smiley'/>");
_str = _str.replace(/:\|/gi, "<img alt=':tak acuh' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Indifferent.gif' class='smiley'/>");
_str = _str.replace(/:\)\)/gi, "<img alt=':senang' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Happy.gif' class='smiley'/>");
_str = _str.replace(/:\(\(/gi, "<img alt=':nangis' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Crying.gif' alt='' class='smiley'/>");
_str = _str.replace(/:\(/gi, "<img alt=':sedih' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Sad.gif' class='smiley'/>");
_str = _str.replace(/;\)/gi, "<img alt=':kedip' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Wink.gif' class='smiley'/>");
_str = _str.replace(/B\)/gi, "<img alt=':kacamata' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Glasses.gif' class='smiley'/>");
_str = _str.replace(/:\)/gi, "<img alt=':genit' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Flirty.gif' class='smiley'/>");
b.item(i).innerHTML = _str;
}
}
}
a = document.getElementById('comments');
if(a) {
c = a.getElementsByTagName("DD");
for(i=0; i < c.length; i++) {
if (c.item(i).getAttribute('CLASS') == 'comment-body-author') {
_str = b.item(i).innerHTML.replace(/:o/gi, "<img alt=':SE' src='http://i714.photobucket.com/albums/ww141/Ardhiansyam/Emot/sony.png' class='smiley'/>");
_str = _str.replace(/:D/gi, "<img alt=':ngakak' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Laughter.gif' class='smiley'/>");
_str = _str.replace(/:x/gi,"<img alt=':cium' src='http://i714.photobucket.com/albums/ww141/Ardhiansyam/Emot/Kiss.gif' class='smiley'/>");
_str = _str.replace(/:p/gi, "<img alt=':melet' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Tongue.gif' class='smiley'/>");

_str = _str.replace(/;\;\)/gi, "<img alt=':kagum' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Wow.gif' class='smiley'/>");
_str = _str.replace(/x\(/gi, "<img alt=':marah' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Angry.gif' class='smiley'/>");
_str = _str.replace(/:\?/gi, "<img alt=':bingung' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Confused.gif' class='smiley'/>");
_str = _str.replace(/:@/gi, "<img alt=':iblis' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Devil.gif' class='smiley'/>");
_str = _str.replace(/:\~/gi, "<img alt=':skeptik' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Sceptical.gif' class='smiley'/>");
_str = _str.replace(/:\|/gi, "<img alt=':tak acuh' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Indifferent.gif' class='smiley'/>");
_str = _str.replace(/:\)\)/gi, "<img alt=':senang' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Happy.gif' class='smiley'/>");
_str = _str.replace(/:\(\(/gi, "<img alt=':nangis' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Crying.gif' alt='' class='smiley'/>");
_str = _str.replace(/:\(/gi, "<img alt=':sedih' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Sad.gif' class='smiley'/>");
_str = _str.replace(/;\)/gi, "<img alt=':kedip' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Wink.gif' class='smiley'/>");
_str = _str.replace(/B\)/gi, "<img alt=':kacamata' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Glasses.gif' class='smiley'/>");
_str = _str.replace(/:\)/gi, "<img alt=':genit' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Flirty.gif' class='smiley'/>");
c.item(i).innerHTML = _str;
}
}
}
//]]>
</script>
<!-- end emot SE -->


Langkah 3
Temukan kode berikut

<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<b:include data='post' name='comment-form'/>
<b:else/>
<b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
</b:if>
</b:if>
</p>


Langkah 4
Letakkan kode berikut setelah kode <p class='comment-footer'>

<center><p><i>copy paste</i> kode berikut untuk menambahkan emotikon</p></center>
<center><b>
<table cellpadding='3' cellspacing='5'><tr>
<td><div align='center'><img alt='genit' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Flirty.gif'/><br/>:)<hr/></div></td>

<td><div align='center'><img alt='kacamata' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Glasses.gif'/><br/>B)<hr/></div></td>

<td><div align='center'><img alt='kedip' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Wink.gif'/><br/>;)<hr/></div></td>

<td><div align='center'><img alt='sedih' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Sad.gif'/><br/>:(<hr/></div></td>

<td><div align='center'><img alt='nangis' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Crying.gif'/><br/>:((<hr/></div></td>

<td><div align='center'><img alt='senang' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Happy.gif'/><br/>:))<hr/></div></td>

<td><div align='center'><img alt='tak acuh' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Indifferent.gif'/><br/>:|<hr/></div></td>

<td><div align='center'><img alt='skeptik' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Sceptical.gif'/><br/>:~<hr/></div></td></tr></table></b></center>


<br/>
<b><center>
<table cellpadding='3' cellspacing='5'><tr>
<td><div align='center'><img alt='iblis' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Devil.gif'/><br/>:@<hr/></div></td>

<td><div align='center'><img alt='bingung' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Confused.gif'/><br/>:?<hr/></div></td>

<td><div align='center'><img alt='marah' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Angry.gif'/><br/>x(<hr/></div></td>

<td><div align='center'><img alt='kagum' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Wow.gif'/><br/>;;)<hr/></div></td>

<td><div align='center'><img alt='melet' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Tongue.gif'/><br/>:p<hr/></div></td>

<td><div align='center'><img alt='cium' src='http://i714.photobucket.com/albums/ww141/Ardhiansyam/Emot/Kiss.gif'/><br/>:x<hr/></div></td>

<td><div align='center'><img alt='ngakak' src='http://i875.photobucket.com/albums/ab312/mohanlink/SE%20Emoticon/emoticon%202/Laughter.gif'/><br/>:D<hr/></div></td>

<td><div align='center'><img alt='SE' src='http://i714.photobucket.com/albums/ww141/Ardhiansyam/Emot/sony.png'/><br/>:o<hr/></div></td>
</tr></table>
</center></b>


Langkah 5
Simpan template Anda dan lihat hasilnya (demo dapat dilihat di Kanvas Semu dan mohanlink™)
kedip
genit
kacamata
senang
melet


Lalu apa itu EMS? EMS adalah layanan yang memungkinkan perangkat bergerak (ponsel) mengirim dan menerima pesan yang dapat diformat (cetak tebal, cetak miring, dll.). Pesan tekstual EMS dapat dikombinasikan dengan animasi, gambar, maupun suara atau melodi. Pada dasarnya, EMS merupakan teknologi antara SMS dan MMS, yang memiliki sebagian kemampuan MMS. Contohnya sebagai berikut (diambil dengan menggunakan ponsel Sony Ericsson W660i):

ems


Oke, demikian, selamat mencoba, semoga berhasil :)

(ide emotikon Sony Ericsson: mohanlink™)


Ardhiansyam | Find us on Google+ | Kontak | Follower? klik di sini | Sitemap | Versi Mobile | ke atas ↑