Hi,
I get this code from
http://forums.gentoo.org/:
// JavaScript enhanced version of bbcode insertion tags
// Better insertion tags in the textarea field
// Tested on:
// - Internet Explorer 6.0
// - Mozilla 1.7 (Windows version)
// - Mozilla 1.7 (Linux-Gentoo version)
// Enhancements:
// Don't loose the text scroll position when insert a code
//* Javascript substitution for correct working on explorer & mozilla browsers
//* by RadikalQ3 (radikal AT q3 dot nu), helping to Gentoo comunity.
I contacted the author and he gave me permission to share his code:
> hi,
>
> I noticed your patch for Gentoo Forum source:
>
> //* Javascript substitution for correct working on explorer & mozilla
> browsers //* by RadikalQ3 (radikal AT q3 dot nu), helping to Gentoo
> comunity.
> //*************************************************************************
>*************
>
> I would like to port your patch to JForum (http://www.jforum.net),
> which is an open
> source Java forum .
>
> I really don't know if it's possible to do it, but I'll try it anyway =)
>
> Since you've created this patch, I'm asking for your permission.
>
> TIA
>
> ]'s
> Fernando Boaglio
Yes you can use it (and you MUST use something similar)
--
Un Saludo
Radikal
So I 've attached this updated post.js files (inside templates dir) and it's working fine @ JF 2.1.6.
You can
test it here:
http://forum.mentaframework.org/forums/list.page
So guys, can you please put this file on the next release?
[originally posted on jforum.net by boaglio]