Файл: backup_fzrf 2/templates/Old/project_fm/chat_index.tpl
Строк: 44
<style>
#result{background: #E6E4D7;padding: 8px;margin-bottom:
10px;color: #928571;border: 1px solid #C7C4A1;display:
none;}
.error{color: #069;font-weight: bold;}
#chat_update{width:
494px;}
.marg_id{margin-top:-36px;}
.marquee img{width:
680px;}
</style>
<script>
$(document).ready(function(){
$('#ads_no_remove').hide();
$("#vallery_row_index_table").hide();
setInterval(function(){
$("#vallery_row_index_table").show();
$.ajax({
url:
"index.php?go=vallery&act=chat_fm_view",
cache:
true,
success: function(date){
$("#chat_view").html(date);
}
});
},
2000);
setInterval(function(){
$("#vallery_row_index_table").show();
$.ajax({
url:
"index.php?go=vallery&act=chat_fm_user",
cache:
true,
success: function(date){
$("#chat_view_user").html(date);setScroll();
}
});
}, 2000);
});
function
setScroll(){
$('#chat_view').scrollTop(99999);
}
</script>
<div
class="marquee"><img
src="/images/fm/chat_logo.gif" /></div>
<div
id="vallery_row_index" class="marg_id">
<div
id="vallery_row_index_table">
<table
class="vallery_table clear_fix" width="100%"
border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td
class="clear_fix">
<div
id="chat_update">
<div
id="chat_view"></div>
</div>
</td>
<td
class="vallery_chat_user">
<div
id="chat_user_act">
<div
class="vallery_vie_chat">
<div
id="chat_view_user"></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<div
class="chat_send_box">
<div
id="result"></div>
<div class="button_div
fl_r" style="margin-top: 3px;"><button
type="submit" onClick="projectfm.chat_fm_message();"
id="sending">Отправить</button></div>
<input
class="text fl_l" id="chat_message" style="width:
572px;" onKeyPress="if(event.keyCode ==
13)projectfm.chat_fm_message();" />
<div
class="clear_fix"></div>
</div>
</div>
</div>