При нажатии на ник автоматически бросает в строку отправления сообщения
Форма добавления сообщения:
<script type="text/javascript" src="http://worldprog.at.ua/xml/udleinf.js"></script> <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: 25px;;width:80px;margin:0px" value="Смайлы" class="smaile"> <input href="$ACTION_URL$" onclick="window.location.reload();return false;" title="Обновить" style="margin: 0px; height: 25px; width: 80px;" value="Обновить" class="postReset" type="button"> <?if(($FIELDS_MASK$&8))?><?endif?> <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(170, 170, 170); margin: 0px; padding: 5px; width: 88%; font-size: 7pt; height: 24px; color: rgb(170, 170, 170); font-family: Verdana; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" type="text"><a class="noun" href="javascript:void('Message control')" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" title="Управление сообщениями"><img border="0" align="absmiddle" src="http://filmon.ucoz.net/about.gif" width="20" height="20"></a> <input style="margin: 0px; height: 26px; width: 80px;" value="Отправить" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);" type="submit">
Вид материалов:
<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;"> <div style="float:right;font-size:8px;" title="$DATE$">$TIME$</div> <?if($USERNAME$)?><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><b><a href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='$NAME$,'" title="Адресовать $NAME$"> $USERNAME$</a> <?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$"><img border="0" align="absmiddle" src="http://s14.ucoz.net/t/882/e.gif"></a><?endif?> <?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://s14.ucoz.net/t/882/h.gif"></a><?endif?> <?else?> <?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank"><b>$NAME$</b></a> <?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$" rel="nofollow"><img border="0" align="absmiddle" src="http://s14.ucoz.net/t/882/e.gif"></a><?endif?> <?else?> <?if($EMAIL$)?><a href="$EMAIL_JS$" rel="nofollow"><b>$NAME$</b></a> <?else?><b>$NAME$</b><?endif?> <?endif?> <?endif?> <div class="cMessage">$MESSAGE$</div> <?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?> <?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?> </div>