بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
أضف لمدونتك بعض من الجمال وتنسيق والأحترافية
طريقة أضافة صندوق الايتسامات للتعليقات أو الردود للمدونات البلوجر وأبتسامات جديدة وحصريــة ولاول مرة
صورة للإضافة
حرصت أن تكون الابتسامات صغيره ومنسقة وتحتوي على جميع الانطباعات
عدد الأبتسامات في الصندوق 19
طريقة التركيب ولاضافة
1- أتجه للوحة التحكم الخاص بمدونتك
2- تصميم
3-تحرير html
4-أعمل توسيع للقالب
أبحث عن الكود التالي
<h4 id='comment-post-message'><data:postCommentMsg/></h4>
وأضف أسفله مباشرة الكود التالي
<div style=' width: 370px; text-align: left; border: 2px solid #0084ce; background: #FEF9EA; padding: 10px; color:#0084ce; font-weight:bold; '>
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilZunmhso6wjFi40Cm_UmqCZl3DJyBky9zjGE0Ic32I-9cbd3zdi4l5M70eRRePuEBa9TvJKteIqhM6SwU1TkiBWbnB9K-J1028Cqz_KeLhSG1OLKQuVTScGKm5XPQ93uCJU-5H24Luw/h80/1.gif'/> :a
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYFczMosj621o7BdlH5b_yuy04eChqyA89NE1mmpVgFv4CSB3Vh9QAW6AHxpUKtEk44e-4-ignYEqf0cz1O-Sc9zPHUJl6Ujq4CuvfyOIwmbL-f5OsV0a-tZVOyPkCmsPrxAM-UbdE5w/h80/2.gif'/> :b
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKsdLNrvMj4Pextaakr-rjIdQRTp0fyBvpQIVtN74aQwsopOikSQWH5SgCMWSwlxuugZRmEGszoeavRnZx01T30eOCrkSWupngTmrhBacR7OgmYzwH9jwTBIiV9seQbuKvaAgROSzYeg/h80/3.gif'/> :c
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ok7LnyNKtaFuqQKO2NI-OwSbS5QypKszv3-11FabBYH3iYW5xKdj3_vHkUfT3Svws-HKeG-KuiP5IUbb2qa3H9S_W5LwtgJ3sxfvHDNYrTJnak-mUPBdQbSQlKSoZHBVLcHTLgvcCw/h80/4.gif'/> :d
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEAH3_2QVH62NqxjM33Ju3K0iuiv2oy9HQ4lgZX7u9nP5LsL8CC-RKyGRqpnjZeONcBdfvyZaGfpdj4P138eSoSz1VQbfuo8gKoaomNIS_RgpUAHiYw4v6Dgbd0kyAj-texfVz39qwiA/h80/6.gif'/> :e
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlnNwwHlsB7FeN5am7DdXIxmFPkqjIZcvwuFkXHYPz0-KnWpDcqnLoKCVJ1Mwg7oTrcFL9L__2TyN0gZN01IJ409ellGsc49ivwqpHczo_nin8i2mYjb93wNO4vrcdXM4F3LPqD_rUFA/h80/7.gif'/> :f
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTVXaf_zA3_PfEiYCcp_mrqE1nw5BVvG2yDX9DhiwL-ATrSeRxiiw7MT9ReUj6_T98CK4ljsYH2qsIU7K2resdFvIsajkUC9rxACmBJLE-FIY_diZ4gEH9D6CcVuAKdWp4hdzBLfOvhQ/h80/8.gif'/> :g
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS4sruU7FJd88BsWfETUbw5rRrrDoTvl1qIlnjUkz8A82UpqHwel4LlvPgNvqDqu8bznVYhmseBfoH5XLvHvVRo1JSnPikvcWLEogychvIXhmud_SILj9J-eFzXeTOjkSGDz5yDJ4yjQ/h80/9.gif'/> :h
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicOYb0w8jw5UoahnJEpT-H9Pb-blkVk_R_PI1SfCbevbZFMoVp5gYE7rOVSO9l1Wmzx0aG5SoYXnf-rXWrxQbdTPUg6l0bYu_srNeZ-_aTIynefSKZ8Kyt6hNUKN1CII-XbWrNMEvYbA/h80/10.gif'/> :i
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikrwBN0w4H77JhvNlOlzp4l64lvj2iJDxufd2ZZ0_j38mYYv_PY2J-8zeRToulzzHsf9Iw2vnC3BBJzLXtT2rV2h5jCWDfRcKDtWWP1YojLtn1mVwS6rZ8uAOEPjhzNPouVDnOAa4_DA/h80/11.gif'/> :j
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg18ZaNdFxiaXh9wSe_2c-ukdOiHRGPRXyDBQOHl-I8TQL6wGd7KRKR7TPnkm5iBmhLVaaHeefMRM7GfCw0DpVdsTCFXdfuXAVg1vb1nWW4DrWvX7AhuSCDQlz1Bs0c-foKZiLpNoGGeg/h80/12.gif'/> :k
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ubr9T_8uF7hsaEvo-R7T6ul0ZtwSrdw_wL_K9XkbHW3v54pmwG3LwwVMLISZ8rKmOAM4-7knXNxMAQ6QUA3M7J55zwbEGDPw1MAmgmhEX2g7GYMXxFWqTaX7GojZcUqDbPYRpLcSIA/h80/14.gif'/> :l
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEYEkixofLvEZmmRKQhr9mTZEtfYvn0fNR9gKOJRLSJtbRft32nlRulTiYUwHW4hWNB6I5zePOuKCCLxGTtfbtI_hs_heP6Nr6X_uY1mjDqaFYB1MbQF4i557HxscL8NlDWRcVAX0aFA/h80/13.gif'/> :m
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjuT-ndN0hHlNU0VbeywGeRpQQuuxJzOWJo7CLPvwuuAxAVkufItoMUzU6FpmzUb1E7rOSrBb7CUmhLA4XP2iNq1zOsuoD9B0MjNDthyphenhyphenJFgrmePcHA6k0lerEFRViVz5AH8ZH46nAK-uY/s800/emoticon-0137-clapping.gif'/> :n
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-MgMnwTwPT62j62evTuPxldf1xNK7eisL9wG_lFAd38ixlsWotyLStcp_kRwK9K-3CaD9VUJkoJF45vYO8am11d3rTgXxigVtW1cLKU2dwtOPbaJNKHrgnttN8lzvndgy-igtCxiwWA/h80/15.gif'/> :o
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1CX5cVrRoGT5tz1WVsUVX5yWaIQegxMkS0vuh7baBu4nwQjdWGA3WHdN4KfK5yKiGc0PPYfkU2O-V8uAjmwrPqFgcy-Ane5JPCjuLjyo2QD_dkeN08N-a2RT6WtXMTGPJK8ZXdt7d3g/h80/16.gif'/> :p
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc08e1nE0FM40qL8lACw5Z2O7zG_uNm1kjq2yL9gDDlaFQMrrJUavdTKSOyZOIZ-mvdWvfft_igOoBzBAj1JDDZ8IS0-cYwdsnYO9DGWuvJa9I-jN1pwDmnTadQ9A7bGsifIO4KgfBxQg/s800/emoticon-0148-yes.gif'/> :q
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRc8u6Z_pqE8jcKbJ1NfinIJvyyIJ03dhkLzYYex6VNhrvLQ-QyUHojq70c63Iugarh302LyKZeo7RQyfGFRPRp50vGyFQgKhyqDkuDDbU1p0mnmIaQpch1uNsMTJc77oRacBXv2s0FA/h80/17.gif'/> :r
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj5Si89n8_tFLeyNYRtVx9AdRhyAhikc51TvkvJcBQ9ra5yGlWe6dBlyFvuTDJ_dP5jOfCeO7m_8-rhRwisoRzJnQ1JlVo2hDu_yxDruj8acZi55UtTyOKkZnpST0FaH6Hmmp1K9sjVQ/h80/18.gif'/> :s
</div>
بعد ذلك قم بالبحث عن الكود التالي
</body>
أو
</head>
وأضف قبل أحدى الكودين السابقين وليس كلاهما الكود التالي
<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') == 'Author-comment-body' , 'comment-body') {
_str = b.item(i).innerHTML.replace(/:j/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilZunmhso6wjFi40Cm_UmqCZl3DJyBky9zjGE0Ic32I-9cbd3zdi4l5M70eRRePuEBa9TvJKteIqhM6SwU1TkiBWbnB9K-J1028Cqz_KeLhSG1OLKQuVTScGKm5XPQ93uCJU-5H24Luw/h80/1.gif' alt='' class='smiley'/>");
_str = _str.replace(/:k/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYFczMosj621o7BdlH5b_yuy04eChqyA89NE1mmpVgFv4CSB3Vh9QAW6AHxpUKtEk44e-4-ignYEqf0cz1O-Sc9zPHUJl6Ujq4CuvfyOIwmbL-f5OsV0a-tZVOyPkCmsPrxAM-UbdE5w/h80/2.gif' alt='' class='smiley'/>");
_str = _str.replace(/:l/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKsdLNrvMj4Pextaakr-rjIdQRTp0fyBvpQIVtN74aQwsopOikSQWH5SgCMWSwlxuugZRmEGszoeavRnZx01T30eOCrkSWupngTmrhBacR7OgmYzwH9jwTBIiV9seQbuKvaAgROSzYeg/h80/3.gif' alt='' class='smiley'/>");
_str = _str.replace(/:m/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ok7LnyNKtaFuqQKO2NI-OwSbS5QypKszv3-11FabBYH3iYW5xKdj3_vHkUfT3Svws-HKeG-KuiP5IUbb2qa3H9S_W5LwtgJ3sxfvHDNYrTJnak-mUPBdQbSQlKSoZHBVLcHTLgvcCw/h80/4.gif' alt='' class='smiley'/>");
_str = _str.replace(/:n/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEAH3_2QVH62NqxjM33Ju3K0iuiv2oy9HQ4lgZX7u9nP5LsL8CC-RKyGRqpnjZeONcBdfvyZaGfpdj4P138eSoSz1VQbfuo8gKoaomNIS_RgpUAHiYw4v6Dgbd0kyAj-texfVz39qwiA/h80/6.gif' alt='' class='smiley'/>");
_str = _str.replace(/:o/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlnNwwHlsB7FeN5am7DdXIxmFPkqjIZcvwuFkXHYPz0-KnWpDcqnLoKCVJ1Mwg7oTrcFL9L__2TyN0gZN01IJ409ellGsc49ivwqpHczo_nin8i2mYjb93wNO4vrcdXM4F3LPqD_rUFA/h80/7.gif' alt='' class='smiley'/>");
_str = _str.replace(/:p/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTVXaf_zA3_PfEiYCcp_mrqE1nw5BVvG2yDX9DhiwL-ATrSeRxiiw7MT9ReUj6_T98CK4ljsYH2qsIU7K2resdFvIsajkUC9rxACmBJLE-FIY_diZ4gEH9D6CcVuAKdWp4hdzBLfOvhQ/h80/8.gif' alt='' class='smiley'/>");
_str = _str.replace(/:q/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS4sruU7FJd88BsWfETUbw5rRrrDoTvl1qIlnjUkz8A82UpqHwel4LlvPgNvqDqu8bznVYhmseBfoH5XLvHvVRo1JSnPikvcWLEogychvIXhmud_SILj9J-eFzXeTOjkSGDz5yDJ4yjQ/h80/9.gif' alt='' class='smiley'/>");
_str = _str.replace(/:r/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicOYb0w8jw5UoahnJEpT-H9Pb-blkVk_R_PI1SfCbevbZFMoVp5gYE7rOVSO9l1Wmzx0aG5SoYXnf-rXWrxQbdTPUg6l0bYu_srNeZ-_aTIynefSKZ8Kyt6hNUKN1CII-XbWrNMEvYbA/h80/10.gif' alt='' class='smiley'/>");
_str = _str.replace(/:s/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikrwBN0w4H77JhvNlOlzp4l64lvj2iJDxufd2ZZ0_j38mYYv_PY2J-8zeRToulzzHsf9Iw2vnC3BBJzLXtT2rV2h5jCWDfRcKDtWWP1YojLtn1mVwS6rZ8uAOEPjhzNPouVDnOAa4_DA/h80/11.gif' alt='' class='smiley'/>");
_str = _str.replace(/:t/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg18ZaNdFxiaXh9wSe_2c-ukdOiHRGPRXyDBQOHl-I8TQL6wGd7KRKR7TPnkm5iBmhLVaaHeefMRM7GfCw0DpVdsTCFXdfuXAVg1vb1nWW4DrWvX7AhuSCDQlz1Bs0c-foKZiLpNoGGeg/h80/12.gif' alt='' class='smiley'/>");
_str = _str.replace(/:a/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ubr9T_8uF7hsaEvo-R7T6ul0ZtwSrdw_wL_K9XkbHW3v54pmwG3LwwVMLISZ8rKmOAM4-7knXNxMAQ6QUA3M7J55zwbEGDPw1MAmgmhEX2g7GYMXxFWqTaX7GojZcUqDbPYRpLcSIA/h80/14.gif' alt='' class='smiley'/>");
_str = _str.replace(/:b/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEYEkixofLvEZmmRKQhr9mTZEtfYvn0fNR9gKOJRLSJtbRft32nlRulTiYUwHW4hWNB6I5zePOuKCCLxGTtfbtI_hs_heP6Nr6X_uY1mjDqaFYB1MbQF4i557HxscL8NlDWRcVAX0aFA/h80/13.gif' alt='' class='smiley'/>");
_str = _str.replace(/:c/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjuT-ndN0hHlNU0VbeywGeRpQQuuxJzOWJo7CLPvwuuAxAVkufItoMUzU6FpmzUb1E7rOSrBb7CUmhLA4XP2iNq1zOsuoD9B0MjNDthyphenhyphenJFgrmePcHA6k0lerEFRViVz5AH8ZH46nAK-uY/s800/emoticon-0137-clapping.gif' alt='' class='smiley'/>");
_str = _str.replace(/:d/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-MgMnwTwPT62j62evTuPxldf1xNK7eisL9wG_lFAd38ixlsWotyLStcp_kRwK9K-3CaD9VUJkoJF45vYO8am11d3rTgXxigVtW1cLKU2dwtOPbaJNKHrgnttN8lzvndgy-igtCxiwWA/h80/15.gif' alt='' class='smiley'/>");
_str = _str.replace(/:e/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1CX5cVrRoGT5tz1WVsUVX5yWaIQegxMkS0vuh7baBu4nwQjdWGA3WHdN4KfK5yKiGc0PPYfkU2O-V8uAjmwrPqFgcy-Ane5JPCjuLjyo2QD_dkeN08N-a2RT6WtXMTGPJK8ZXdt7d3g/h80/16.gif' alt='' class='smiley'/>");
_str = _str.replace(/:f/gi, "<img src=''https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc08e1nE0FM40qL8lACw5Z2O7zG_uNm1kjq2yL9gDDlaFQMrrJUavdTKSOyZOIZ-mvdWvfft_igOoBzBAj1JDDZ8IS0-cYwdsnYO9DGWuvJa9I-jN1pwDmnTadQ9A7bGsifIO4KgfBxQg/s800/emoticon-0148-yes.gif' alt='' class='smiley'/>");
_str = _str.replace(/:g/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRc8u6Z_pqE8jcKbJ1NfinIJvyyIJ03dhkLzYYex6VNhrvLQ-QyUHojq70c63Iugarh302LyKZeo7RQyfGFRPRp50vGyFQgKhyqDkuDDbU1p0mnmIaQpch1uNsMTJc77oRacBXv2s0FA/h80/17.gif' alt='' class='smiley'/>");
_str = _str.replace(/:h/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj5Si89n8_tFLeyNYRtVx9AdRhyAhikc51TvkvJcBQ9ra5yGlWe6dBlyFvuTDJ_dP5jOfCeO7m_8-rhRwisoRzJnQ1JlVo2hDu_yxDruj8acZi55UtTyOKkZnpST0FaH6Hmmp1K9sjVQ/h80/18.gif' alt='' class='smiley'/>");
b.item(i).innerHTML = _str;
}
}
}
//]]>
</script>
وأخيرا أعمل حفظ للقالب وقيم الأضافة
ليست هناك تعليقات:
إرسال تعليق