textarea = opener.document.getElementById(qe_txt_name);
// Center the cursor when we don't have a selection
var caret_pos = qe_getCaretPosition(textarea).start;
//The new position for the cursor after adding the bbcode
qe_mozWrap(document.getElementById(qe_txt_name), bbopen, bbclose);
document.selection.createRange().text = bbopen + theSelection + bbclose;
theSelection = document.selection.createRange().text;
[Download] Counter-Strike 1.6 No-Steam V.43 Build (4554) • CSmania.RU
Комментариев нет:
Отправить комментарий