• Natlie Imbruglia

    Doesn`t she look very cool?

  • Thousands of Years

    Earth has lived thousands of years...

  • Fruits

    Fruits are vital for health and their nutrients...

  • The Lonely Road

    The Lonely Road reminds Me with You...

  • Twister

    Here are some twisting graphics for you...

Saturday, January 2, 2010

Memasang emoticon (smiley) pada bahagian comment


Untuk memasang emoticon pada bahagian comment seperti yang boleh anda lihat di sini (klik), sila ikut beberapa langkah di bawah.

p/s: Save script template sebagai backup.

Langkah 1

Log in blog => Dashboard => Layout => Edit HTML. Seterusnya, tick pada kotak Expand Widget Templates.

Langkah 2

Dengan menggunakan keyboard, tekan kekunci Ctrl+ F dan taip atau paste kod </body> pada ruang Find. Seterusnya tekan kekunci Enter.

Langkah 3

Salin kod berwarna biru di bawah dan paste diatas atau sebelum kod </body> (rujuk langkah 2)

<script src='http://sites.google.com/site/javascript10/emoticon.js' type='text/javascript'/>

Langkah 4

Sekali lagi dengan menggunakan keyboard, tekan kekunci Ctrl+ F dan taip atau paste kod <b:if cond='data:post.embedCommentForm'> pada ruang Find. Seterusnya tekan kekunci Enter.

Langkah 5

Salin kod berwarna merah di bawah dan paste di atas atau sebelum kod <b:if cond='data:post.embedCommentForm'> ( rujuk langkah 4)

<b>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggUbrOJ9Db7kwZiNrGOEppEmOsBVHyyFdzLOt86w5qawcxQE0T3-a6udqvw_7IynU15QpF5s8Gk-l6iUbwv71dB86pk_BCePsAY48TZM2gXGssvRMXl76ExUoLMDxr334ZEOBJye9VwzdW/s200/20x20-waaaht.png'/>:a:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4htf2zeZaaXN_FT_BN570irDOp3RgYHpAdOn1xFyeCagW8b5J71Deayq3c_u0h1xvrMJBUl9Bodf_u_qgSv-6pJegrqkaApY2SF_PxY4QDuTK1myMY-eMaNM756UGnjSBTiAxK369zcWz/s200/20x20-too_sad.png'/>:b:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYWU2pxTxHGBkwjPpL2p3bo9Mx2URiH5yABXDs01x94QArC5AuMSTOHBn2rx5BKtudnjcyfX3goawj1F2cfYVWm5CxbxTIayMKfT0ExUFlMoT_qCPWLMis2XPcU6U97i0WyocD3OsY45BZ/s200/20x20-look_down.png'/>:c:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4mRK2N-sDKGv3S3vqnULcakqLskMbh_dcr6u7UyabBXzUrYpZEl-v5QrM0ZApwDnG9-zc8oNEuSiVi5BxWZ7JsJrc2R0lXw7An5jbYLE7xT88LWgmwzTp67wa3ytEMkOqUlPflpkg-gtD/s200/20x20-hell_boy.png'/>:d:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx-m_7wi8WRxhvBCDpHrj45tke4FffDHhPIGUhsF8pDDIj-D3PNDW0UuSTtF6Dd1xAGr7oVj17EgsQkilqtnkoZP48a_jU6WX2XVpn574QeT5T41XUpGfaAtDtle6hnY2-kbvF9YvnoUjw/s200/20x20-feel_good.png'/>:e:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxEyfSFmVTZdHl5AV1CyjtuyvYmCcmlo7y772OeJyiNomfmyjBNIK8d71u2rp8xlS7nlNu7PYH8xg_wIoO8qPv_As_rHiB4TBNhD8-Brsrd6IgaAlpnjaKHnNk4RZZf_EkGgiSajR6gJBv/s200/20x20-extreme_sexy_girl.png'/>:f:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ3_qSMNZ0oTLDF5K8vHf6HEdxOlbQ-7YI37NNTaiVNX1A6z0z_3tFDNncZ_uPbH8mLz0abVtD74T0XnpvMPm41nYAi1lByZk3pL8eUK8vsNCG5JSGAuq3rYKvRbCFN9Efd-QDmimAxc6q/s200/20x20-confuse.png'/>:g:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0ko6C6APqCh4Qt2O7MyYHHvGggarySLl3GhJkQfuSQ3Re_6IQWr2S5Gj4tpGDBYhVkjoc_B6gcT2Hdp3kcgiJbqas-FFrMw5_rkqo2ycErRLLkEgtoaUngxTeL5LfJ_wuL6Eccs6zBa4y/s200/20x20-confident.png'/>:h:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA6NBmc9GogCXTElEttJ53pkiERvhf1uBqdNzAbQn4UPTIM67rakJivktf4OtXj9AFUk88aryUTLd4sxCsRTz7gSE9wpWoE91LFUZ0fx_npMFi7SbB-dSzcEvg88D24nUkrcvhGslpA4F5/s200/20x20-cold.png'/>:i:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_pi-vqEtlQ-_zAGXz5oY5FDwiRYkIy7N2_Y-LOIP7Sp_owWvuCqa8CckjLhyid89eRJAnRK1HP1hqvbdOwhnEjKPDzumy1IwNCQ1XWhe0ERKN3Lmh9qdQceuJHsgEPZ5Vk-7qvXZYxQE7/s200/20x20-choler.png'/>:j:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ0-zfwqJ4nNhelo4GxGtz96KtjVJHoJLz_c-LMmaaIWobCPAfqiQUnpQUNDhbS4Hp6ka52K6C4omyScLkiYVX_hthD0P8gU67276cOkb5G6evtzkve6Pgk7vikry4O_ZgYKOA6J3EO84G/s200/20x20-boss.png'/>:k:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl9tTgcASw0LDGLCgOHxdLZ5tFcwbXTQI2G16_55VXQTqyRBloWo6PnXYmoo0ha09qsH7Fy-aiSsYL2Pjo2Kofp4x4ywyVhq5gmZdYX6GKdOnt-nJr9lNBzvFOkUXB6K2kAjc-Z2gHrAA3/s200/20x20-big_smile.png'/>:l:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGQZ1Ve4jZjOUHfItKHGLTRalgnkO_a1ElVq0tPUg3Sc211NDoQVB6Ep4XpYWP7aw-7U-gtGUd8-VWteKk3jkBh6MCOzfns9VkSdG0fqc4dM024NaPQdCPsac3BY5FrTKKyfkfEnSg9K4p/s200/20x20-beauty.png'/>:m:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9j4nxmBOZx0gt-_BtwTMMwa8NBaKAS_UJELX0OMvibZm5kBaRaKbor0z9jdsaK5JZtojBl4LMg4SDLc2WVMVk1-U6sgerKfW_085Ssef479yJ4nfx8Dg-VnA5c8XrivNU5W8sk2aEcWRh/s200/20x20-beat_brick.png'/>:n:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFcjcCUALVefd9LoOvZqtqGVj-2c3aW5pnPLE1Tm8s8kqrjyRbuN2WivzieqOTF00DmwGXhPLnefYzHbHw1ZGNnlhRSToSK1N1e42JN4C4Nk1zfybxlvUaf-rwtrLUYJCq_UW8vuJStMDn/s200/20x20-bad_smelly.png'/>:o:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVB6IyMq2DQeIqGnmfGwOv9PrUsJd90i1uA7xz2oyzwqLc1ZpNVCcSk8T5FILbe7KtDPZ_yIPFW-UJHsEqlm1vLQvduNjrzGyrcd0CL99SLHyalncaoRWlYqHoYZULyaFNXzE1ye_RlEQF/s200/20x20-angry.png'/>:p:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg74JhTao2YutmMxtb6h0mT-247Jvx38VWS4n5NyoQSS4Lu1svFWWNkmdas9JJuFYgFJ0Jk4FcoOCS9K2lZo4KuP8Sqc35JfsMW7Bm4p7Z8NSF0dZk4XC29xlSNSf2nLhFMZYPerHZxIRS_/s200/20x20-amazed.png'/>:q:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJjGtQuIPiy_XK1J8FjO15oUvf8zxCkhWbSW_uiNNcq682Dx4s9DUW63sqhuwtLws1mQ2LDuGHwuw-Zo-2CntLw1kMRmLQNcjLzns2QbfZ8JicGRHEoHBZCpt_meG1Lwa2SG_ogeZFdDYJ/s200/20x20-ah.png'/>:r:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJSV4FRBkJ4HClp7CD-y75BLWDHIxWMjH66VVff7puO5RJX6Qw2WeoR0s3rgUY05SjtQqb6KFH-D5-g-svzf2bla2h_nPXzGqYeIbkCKv8zzpYIP6gKk5V8OgYafijgkA1Sv0XxVWScdIn/s200/20x20-after_boom.png'/>:s:
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJTycA_gAypCDnNh7Rk_u31SWaXGx0E126qgwsWlJh1flH4brpREcXV-HMxt9ZQhCfAfX6PEXrKYjO9LofbOMNQ0_a4PCgqES2PY9HTaiLbd6kyRx7j_NelDVkOswhKagl7fZ9GnKbvnvY/s200/20x20-adore.png'/>:t:
</b>

Akhir sekali, klik Preview dan jika tiada mesej Error terpapar, klik saja Save.

18 comments:

  1. wahhhhhhhh berpinar mate tgk code y byk tuh...pape pon kalo de y berminat x sala mencube kan =) sharing is caring!

    ReplyDelete
  2. fuh....ada bintang2 atas kepala mcm tom kenakan jerry

    ReplyDelete
  3. merah menyala la kod2 tu.. tapi post menarik leyh cuba2 nanty huhu.. =)

    ReplyDelete
  4. ehm..dh cuba..takde lak kuar error tp x jadi lak bila test komen...

    ReplyDelete
  5. betul..x blh gak..x kuar mamat bulat kepale kuning

    ReplyDelete
  6. macam saya guna disqus comment...boleh tak..hmm,cuba dulu lah..

    ReplyDelete
  7. tak kuar pon... baru jah test.. uwaaaaa

    ReplyDelete
  8. Salam nes, emote ni integrated dgn threaded comment ok ke?

    ReplyDelete
  9. xlehla..ni bkan tuk blogspot ke? ke ni utk workpress?

    ReplyDelete
  10. bro.. camner nie??? gu ada folo ur step.. xkua pon... =(

    ReplyDelete
  11. yess dah dapat..!!thanx a bunch...sukaa!!(^_^)..masa preview,mmg x keluar,tapi bila dah post comment baru nampak emoticons nya..=)

    ReplyDelete