Hello jagerman
This is the code in the file
Code:
<script language="Javascript">
<!--
function addTag(tag) {
if (document.post.post_message.createTextRange && document.post.post_message.cursorPosition) {
var cursorPosition = document.post.post_message.cursorPosition;
cursorPosition.text = cursorPosition.text.charAt(cursorPosition.text.length - 1) == ' ' ? '[' + tag + '] ' : "[" + tag + "]";
}
else {
document.post.post_message.value += "[" + tag + "]";
}
document.post.post_message.focus();
return;
}
function checkText(text) {
if (text.createTextRange)
text.cursorPosition = document.selection.createRange().duplicate();
return true;
}
// -->
</script>
with the smilie code
Code:
<a href="javascript: addTag('aetschi')" tabindex=25><img src="<%image_url%>/forums_smilies_klein/aetschi1.gif" border=0></a></td>
<td><a href="javascript: addTag(';)')" tabindex=25><img src="<%image_url%>/wink.gif" border=0></a>
it dosent work
can you help me ?
Thanks hoefti
linktobuy Web Directory Ratgeber Recht