А фрейм-то зачем? Открываете templates/quick_reply.js, ищете такой кодvkams писал(а): при быстрой вставке цитаты страница прокручивается вниз
Код: Выделить всё
// Putting username to the post box
function putName(name)
{
emoticon_wospaces('[b]'+name+'[/b]\n');
document.post.message.focus();
return;
}
// Putting selection to the post box
function quoteSelection(name)
{
if (selection)
{
emoticon_wospaces('[quote="'+name+'"]' + selection + '[/quote]\n');
selection = '';
document.post.message.focus();
return;
}
else
{
alert(l_no_text_selected);
return;
}
}
Код: Выделить всё
document.post.message.focus();
Код: Выделить всё
// document.post.message.focus();