We would need to have access to the 'supst.png' image to test your code.

And, although I cannot test the premise, the 'href=#colors' assignments you make in the <area> tags
is probably not valid as it normally would point to an HTML file to link to.
Also the use of this in the onclick probably (???) needs to be something like this.color or something like that.

Finally, you are changing the text of the font color in the id="colorPalDemo" element
but you have no text to change color to, so nothing would visibly change.
:eek:

03-18-2013, 10:58 PM

tom13

Actually no for text i'm trying to change the color. I am having a form ang i'm trying to include all these such as font name,size color etc to my form. If i click font name as times new roman and size as 10 and color as red and after selecting all these my tags will seen like <font name=times new roman size=10 color=#FF0000>hai<font>. The hai is my selected text in my textarea.

03-18-2013, 11:13 PM

tom13

Actually not for text i'm trying to change the color. I am having a form and i'm trying to include all these such as font name,size color etc to my form. If i click font name as times new roman and size as 10 and color as red and after selecting all these my tags will seen like <font name=times new roman size=10 color=#FF0000>hai<font>. The hai is my selected text in my textarea. Please tell me how to do that

03-22-2013, 03:45 AM

tom13

Thanks for the help. I have done what i expect. Now my problem is solved. Thanks again.