Скриншот материала «Мини чат для черного дизайна сайта на базе uCoz»
|
1.Заходим: Управление дизайном - мини чат - в вид материалов.
Code
<div
class="cName"><span style="color: green; margin-right: 6px;
font-size: 10px; text-align: left;">$TIME$</span>
<a class="subforum" href="$PROFILE_URL$"">$USERNAME$</a>:
$MESSAGE$
</div>
<div class="cMessage" style="border-bottom: 1px dotted #00CC00; padding-bottom: 5px;"></div>
2. В форма добавления материалов.
Code
<a class="noun" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=250,height=350,left=0,top=0');
return
false;" title="Вставить смайл"><img
src="http://s19.ucoz.net/img/fr/mcs.gif" align="absmiddle" border="0"
height="23" width="21"></a>
<input
href="$ACTION_URL$" onclick="window.location.reload();return false;"
title="Обновить" style="margin: 0px; height: 24px; width: 30px;"
value="©" class="postReset" type="button">
<input
class="postPreview" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0');
return false;" style="margin: 0px; height: 24px; width: 30px;"
value="mail" type="button">
<input maxlength="60"
name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$"
style="border: 1px solid rgb(170, 170, 170); display: none; height:
24px; color: rgb(119, 119, 119); font-family: Verdana;
-moz-background-clip: -moz-initial; -moz-background-origin:
-moz-initial; -moz-background-inline-policy: -moz-initial;"
type="text">
<input maxlength="$MAX_MESSAGE_LEN$"
name="message" size="22" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="Сообщение"
style="border: 1px solid rgb(0, 204, 0); margin: 0px; padding: 5px;
width: 68%; font-size: 7pt; height: 24px; color: rgb(0, 204, 0);
font-family: Verdana; -moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial; -moz-background-inline-policy:
-moz-initial;" type="text">
<input style="margin: 0px;
height: 24px; width: 30px;" value="»" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);" type="submit">