دردشه
صفحة 1 من اصل 1
دردشه
ضع هذا الكود بين الوسمين <head> و </head> :
<****** language="**********">
<!--
function formIsValid() {
// check to make sure a valid username has been entered
if ( ********.login.username.value == "" ) {
*****('Please fill in username field');
return false;
}
return true;
}
function popupLogin() {
// check to make sure a valid username has been entered
if (!formIsValid()) return;
var username = ********.login.username.value;
// the size of the popup window
var width = 600;
var height = 400;
// the x,y position of the popup window
// NOTE: this formula will auto-center the popup on the screen
var y = (screen.height - height) / 2;
var x = (screen.width - width) / 2;
var url = "http://www.ormanonline.com/chat/flashchat.php?username=" + username;
var options = "width=" + width + ",height=" + height + ",top=" + y + ",left=" + x + ",resizable";
// open the chat window as a popup, instead of embedded in webpage
window.open( url, "chat", options );
}
//-->
</******>
ثم ضع هذا الكود بين الوسمين <body> و </body> في المكان الذي يعجبك في موقعك :
<table border="0" cellpadding="2" cellspacing="4" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%"> <form action="http://www.ormanonline.com/chat/flashchat.php" method="post" name="login"> <fieldset style="padding: 2; text-align:center" dir="rtl">
<legend align="right"><span lang="ar-sa"><font face="Tahoma" size="2" color="#FF0000">
الدردشة</font></span></legend>
<table border="0" cellpadding="2" cellspacing="4" id="AutoNumber1" dir="rtl">
<tr>
<font face="Arabic Transparent" color="#0080FF">
<td align="center">
<font face="Tahoma" size="2" color="#0099FF">اسمك</font></td>
<td align="center"><input type="text" name="username" size="12"></td>
</font>
</tr>
<tr>
<td align="center" colspan="2">
<font face="Tahoma" color="#0080FF"><input name="button" type="button" onClick="**********opupLogin();" value="Connect" style="background-color: #F6EFDD; font-family:tahoma"></font></td>
</tr>
</table>
</fieldset></form>
</td>
</tr>
</table>
<****** language="**********">
<!--
function formIsValid() {
// check to make sure a valid username has been entered
if ( ********.login.username.value == "" ) {
*****('Please fill in username field');
return false;
}
return true;
}
function popupLogin() {
// check to make sure a valid username has been entered
if (!formIsValid()) return;
var username = ********.login.username.value;
// the size of the popup window
var width = 600;
var height = 400;
// the x,y position of the popup window
// NOTE: this formula will auto-center the popup on the screen
var y = (screen.height - height) / 2;
var x = (screen.width - width) / 2;
var url = "http://www.ormanonline.com/chat/flashchat.php?username=" + username;
var options = "width=" + width + ",height=" + height + ",top=" + y + ",left=" + x + ",resizable";
// open the chat window as a popup, instead of embedded in webpage
window.open( url, "chat", options );
}
//-->
</******>
ثم ضع هذا الكود بين الوسمين <body> و </body> في المكان الذي يعجبك في موقعك :
<table border="0" cellpadding="2" cellspacing="4" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%"> <form action="http://www.ormanonline.com/chat/flashchat.php" method="post" name="login"> <fieldset style="padding: 2; text-align:center" dir="rtl">
<legend align="right"><span lang="ar-sa"><font face="Tahoma" size="2" color="#FF0000">
الدردشة</font></span></legend>
<table border="0" cellpadding="2" cellspacing="4" id="AutoNumber1" dir="rtl">
<tr>
<font face="Arabic Transparent" color="#0080FF">
<td align="center">
<font face="Tahoma" size="2" color="#0099FF">اسمك</font></td>
<td align="center"><input type="text" name="username" size="12"></td>
</font>
</tr>
<tr>
<td align="center" colspan="2">
<font face="Tahoma" color="#0080FF"><input name="button" type="button" onClick="**********opupLogin();" value="Connect" style="background-color: #F6EFDD; font-family:tahoma"></font></td>
</tr>
</table>
</fieldset></form>
</td>
</tr>
</table>
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى