Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Jagerman] include_smilies_write.html

Quote Reply
Re: [Jagerman] include_smilies_write.html In reply to
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
Subject Author Views Date
Thread include_smilies_write.html hoefti 2951 Aug 10, 2002, 6:54 AM
Thread Re: [hoefti] include_smilies_write.html
Jagerman 2834 Aug 10, 2002, 6:50 PM
Thread Re: [Jagerman] include_smilies_write.html
hoefti 2827 Aug 11, 2002, 3:04 AM
Thread Re: [hoefti] include_smilies_write.html
Jagerman 2815 Aug 11, 2002, 7:55 PM
Post Re: [Jagerman] include_smilies_write.html
hoefti 2803 Sep 1, 2002, 9:57 PM