Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Add-Ons:
newbie - how to add simple custom button



crazykiddo
New User

Feb 8, 2005, 5:03 PM


Views: 79865
newbie - how to add simple custom button

Well been using htmlarea for some time now...not a good javascript programmer.. so can't figure out how to add a custom button
to make custom popups.

should I add them on the initDocument() ?

any help would be nice.


MadMiner
New User

Feb 16, 2005, 1:39 PM


Views: 79771
Re: [crazykiddo] newbie - how to add simple custom button

Hi kiddo

Attached a HTMLfile witch may help.
Read carefully; adjust the paths. It works for me
It is from AFRU !!!
Suxxes

MadMiner
Attachments: OWNtoolbars.html (3.14 KB)


crazykiddo
New User

Feb 17, 2005, 3:55 AM


Views: 79758
Re: [MadMiner] newbie - how to add simple custom button

Well that makes no sense..I know that when setting htmlarea init u can custom what buttons to show..

but I want to add a simple popup window button that returns some code to the window.

where to add the button

where to do the popup code (i'm not good at javascript )

and how to return the code to the selected text in the htmlarea