Thak you for the answer Yansky, but i don't understand that code. Could you give me the lines only for one button ( for examble B ) ? then i can do every othet tags.
Thanx in advance! On 18 mayo, 07:29, Yansky <[EMAIL PROTECTED]> wrote: > I wrote a greasemonkey script that adds BBCode-ish buttons and a text > box to a forum:http://userscripts.org/scripts/source/9061 > > It might give you some ideas as to how to implement it on your site. > > Here's a screenshot of what it looks like in > action:http://img.photobucket.com/albums/v215/thegooddale/qqinIE.png > > On May 18, 7:24 pm, "Ruben S." <[EMAIL PROTECTED]> wrote: > > > Is there a way to make BBCode buttons like for example phpBB forums ? > > > I mean, when you select a piece of text in a TEXTAREA with the mouse > > and click on B button the result is : [b]selected text[/b] or any > > other bbcode tag. > > > Thanx in advance!!