السلام عليكم ورحمة الله وبركاته
اليوم أقدم لكم كود الدردشة مثل الفيس بوك تماما
صورة للكود:
تكبير الصورةتصغير الصورة تم تعديل ابعاد هذه الصورة. انقر هنا لمعاينتها بأبعادها الأصلية.أولا يجب إنشاء عنصر مستقل ونضع فيه الكود التالي لكي يظهر في جميع الصفحات
و يمكن ان يفيدك هذا الشرح
شرح عمل اي شيء بأسفل المنتدىالكود
style="border: 1px solid black; padding: 0px; background: none repeat
scroll 0% 0% white; display: none; -moz-background-inline-policy:
continuous; position: fixed; bottom: 25px; right: 23px; width:
900px;">دردشة منتديات ضع اسم منتداك هنا
<br />style="border: 0px solid black; margin: -2px -2px 0px; background: none <br />repeat scroll 0% 0% transparent; height: 290px; width: 900px; <br />-moz-background-inline-policy: continuous;" <br />src="/chatbox/chatbox.forum">
function
toggleframe(){var x =
document.getElementById('fbfcbframe').style;if(x.display=='none'){x.display='block';}
else {x.display='none';}}
class="unclicked"
onclick="toggleframe();if(this.getAttribute('class')=='unclicked'){this.className='clicked'}else{this.className='unclicked'}"><img>
src="https://i.servimg.com/u/f78/15/58/63/34/untitl11.png">
الدردشة|منتديات ضع اسم منتداك هنا
ونحدد الصلاحيات للأعضاء فقط
ثانيا نضع هذا الكود في ورقة تصميم ال css
#myfooter{
background-image: url(https://i.servimg.com/u/f78/15/58/63/34/sans_t13.jpg);
background-repeat:
no-repeat;
}
#myfooter:hover{
background-image: url(https://i.servimg.com/u/f78/15/58/63/34/sans_t14.jpg);
background-repeat:
no-repeat;
}
#myfooter img{
border: 0px;
margin-top: -12px;
padding-right:
20px;
}
__________________________
روشنه شباب لاندعى الابداع لكننا نسعى اليه