Respuesta: Problemas Al Instalar Advanced BBCode Box MOD
Publicado: 20 Feb 2007, 03:53
monjanegra, si esto no sirve, ya no se que mas pueda ser.... en tu bbcode_box.js
Buscar:
Reemplazar por:
Buscar:
Código: Seleccionar todo
function emoticon(text) {
text = ' ' + text + ' ';
PostWrite(text);
}
Código: Seleccionar todo
function emoticon(text)
{
var txtarea = document.post.message;
text = ' ' + text + ' ';
if (txtarea.createTextRange && txtarea.caretPos)
{
var caretPos = txtarea.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
txtarea.focus();
}
else
{
txtarea.value += text;
txtarea.focus();
}
}