tutaj jest główny kod js:
http://wklej.org/hash/15b83e7bf12/
wiadomości wyświetlane są w tym divie:
według mnie trzeba edytować tą funkcję (próbowałem na wszystkie sposoby, które przyszły mi do głowy)
function chat_msgs_get() { chat_tout = setTimeout("chat_msgs_get();", Math.round(1000*chat_timeout)); if (chat_XMLHttp_get.readyState % 4) return; chat_rand += 1; chat_XMLHttp_get.open("get", chat_path+"php/msg_get.php?rand="+chat_rand+ "&room="+encodeURIComponent(chat_room)+ "&user="+encodeURIComponent(chat_user)+ "&pass="+encodeURIComponent(chat_pass)+ "&mptr="+chat_mptr); chat_XMLHttp_get.send(null); chat_XMLHttp_get.onreadystatechange = function() { if(chat_XMLHttp_get.readyState == 4 && chat_XMLHttp_get.status == 200) { document.getElementById('log_get').innerHTML = chat_XMLHttp_get.responseText; var data = chat_parse(chat_XMLHttp_get.responseText); if (data[0] == '-' && chat_user && chat_pass) { chat_api_onload(chat_room, true); return; } for (var i = 1; i < data.length-1; i++) { chat_mptr = Math.max(chat_mptr, data[i]); if (data[i+1] == '+') { chat_usrs[data[i+3]] = new Array(data[i+2], data[i+4], data[i+5], true); i += 5; } if (data[i+1] == '-') { chat_usrs[data[i+3]] = false; i += 3; } if (data[i+1] == 's') { if (chat_usrs[data[i+2]]) chat_usrs[data[i+2]][3] = data[i+3] == '+'; i += 3; } if (data[i+1] == 'm') { chat_usrs[data[i+5]] = new Array(chat_room, data[i+3], data[i+4], true); data[i+7] = data[i+7].replace(/%%(\w+)%%/g, '<img src="'+chat_path+'smileys/$1.gif" alt="" />'); if (data[i+6] == '.') else { chat_priv_prepair(data[i+5], data[i+6]); chat_wait[data[i+5]][data[i+6]] = false; chat_wait[data[i+6]][data[i+5]] = true; } i += 8; } } if (data.length > 1) { chat_out_msgs(); chat_out_usrs(); } } } }
Proszę o jakieś wskazówki, bo męczę się z tym już kilka godzin i pewnie jeszcze kilka się pomęcze

Dzięki z góry!