2, December 2008

Can you help me? Textarea and colors :( - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  JavaScript
Topic: Can you help me? Textarea and colors :(
« previous next »
Pages: [1] Print

Author Topic: Can you help me? Textarea and colors :(  (Read 341 times)
Total Zero
*
Gender: Male
Posts: 5
38 credits
Members referred : 0


« on: Oct 13, 2008, 08:10:34 PM »

I have the following problem:
I have a textarea with a basic CSS and a default text color but wat i need is to make one part of the content of this texarea in a different color. Realy i don't know is it possible. I need to do that "onLoad" of the textarea. It's like the WYSIWYG editors but i only need a part of the string to be in different color (nothing else /for now Wink/).

Thanks in advance.
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8266
42583 credits
Members referred : 3



« Reply #1 on: Oct 13, 2008, 10:34:40 PM »

I am afraid you can't use a color for a part of a textarea but only for the whole textarea

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6479
39706 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Oct 14, 2008, 11:14:09 AM »

you need to use tinymce or something


Last blog : Just a better Internet portal provided by Google
Total Zero
*
Gender: Male
Posts: 5
38 credits
Members referred : 0


« Reply #3 on: Oct 14, 2008, 12:29:17 PM »

I am afraid you can't use a color for a part of a textarea but only for the whole textarea
I'm aware of that but WYSIWYG editors are able to do it (but as far as i know with some iframe).

I think that i can't use WYSIWYG editor for this becouse i need to color the string dinamicly Sad. But i'll think of that option thanks Olaf.
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6479
39706 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Oct 14, 2008, 09:52:02 PM »

look tinymce or others are not showing you a textarea, they show you a box manipulated with JS. They use the textarea as an container which is able to post content


Last blog : Just a better Internet portal provided by Google
Community Supporter ?
I am a fanatic. So?
*****
Gender: Male
Posts: 589
5476 credits
Members referred : 0


www.dg9.org


« Reply #5 on: Oct 23, 2008, 05:38:10 PM »

I think JS is what they used in this case...

http://www.dg9.org Visit through proxy , Just Visit...
Partners:
http://www.resume-fix.com Visit through proxy , Free Resumes

Last blog : Archos: Where are you?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=8091
Tags : textarea color Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  JavaScript
Topic: Can you help me? Textarea and colors :(
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Dec 02, 2008, 05:10:32 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.937
Total Topics: 7.679
Total Members: 4.444
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Naviator

35 Guests, 4 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.