I can see that in ubb 6.2.1 and 6.2.1.1 you have change the JAVA script in an excellent way. When you press any code button the text you inset will be inserted in the same position of the Caret. This has been done by using the insertAtCaret and storeCaret.
Every thing works fine except the addSmilie.
So I sugest changing the code for it
I propose doing it this way
The old code
<pre>
function DoSmilie(addSmilie) {
var revisedMessage;
var currentMessage = document.replier.message.value; revisedMessage = currentMessage+addSmilie;
document.replier.message.value=revisedMessage;
document.replier.message.focus();
return;
} </pre>
My proposed code
<pre>
function DoSmilie(addSmilie) {
insertAtCaret(document.replier.message,addSmilie);
document.replier.message.focus();
return;
}
</pre>
[This message was edited by Charles Capps on September 05, 2002 at 02:42 PM.]