Hello everybody,
I've defined my own styles.
Now, I'd like to know if it's possible to set the configuration so that the style could be chosed with a button and not from the combo menu.
Thank you!
davide
I've defined my own styles.
Now, I'd like to know if it's possible to set the configuration so that the style could be chosed with a button and not from the combo menu.
Thank you!
davide

Re: Style as a button
I have my own styles, and i would like to create buttons which will apply styles to selected items.
I've already created my button, which replaces selected text with html like that:
FCK.InsertHtml("<span class=\""+this.Name+"\">"+_text_+"</span>");But this is not working - i know! i need to implement behavior from normal buttons:
- when cursor is in middle formated text (with styles)- then the buttons should be "pressed"
- unformating ....
- etc, etc..
Maybe - what if i create custom button, which inherits from normal button?
Please post some comments, ideas, ....
thnx
petrusko