1. Enable Builder---Tag Board---Spaudzeme ---HTML ir Po $CHAT_BOX$ idedame sita coda:
Code
<script>
$('#mmes').click(function() {
_uWnd.alert('<span id="test"><img src="http://ucoz-lab.ucoz.ru/css-prof/loader-bez-lab.gif" width="100px" /></span>', 'Received a new message', {w:400, h:150, tm:0, close:1, align:'left', autosize:1});
});
$('#mmes').mouseout(function() {
$('span#test').load('/mchat span#idd:contains("$USERNAME$")');
$('span:contains("В чате вам")').html('Received a new message <a onclick="upd1();" href="javascript://"><img align="absmiddle" src="http://ucoz-lab.ucoz.ru/img/add.png" /></a>');
});
function upd1() {
$('span#test').html('<img src="http://ucoz-lab.ucoz.ru/css-prof/loader-bez-lab.gif" width="100px" />');
$('span#test').load('/mchat span#idd:contains("$USERNAME$")');
}
</script>
2. Einame i Desigin---Tag Board---Module design customization---Tag Board---Appearance of entries--- Statome sita coda i pati virsu:
Code
<div style="display:none;">
<span id="idd">
<span id="num$NUMBER$" onclick="$('span#mes$NUMBER$').fadeIn(500);" style="color:red;font-weight:bold;cursor:pointer;" title="Клик для подгрузки сообщения">
#$NUMBER$ [показать]
</span>
<span id="mes$NUMBER$" style="display:none;">$MESSAGE$</span>
<br><br>
</span></div>
3. Einame i--- Form adding new messages---ir susirandame sita coda :
Code
<a href="[color=red]$RELOAD_URI$[/color]" title="Обновить"> <img alt="" border="0" align="absmiddle" src="http://s36.ucoz.net/img/fr/mcr.gif" width="13" height="15"></a>
Ir iskarto Pries ji statome sita coda:
Code
<a style="cursor:pointer;padding-right:3px;" id="mmes" title="Есть ли для вас сообщения"><img border="0" align="absmiddle" src="http://ucoz-lab.ucoz.ru/bbcodes/ymsg.png" width="13" height="15"></a>