/    Sign up×
Community /Pin to ProfileBookmark

Javascript underline/bold/italicize/font size/font color/highlight color functions

Hi there,

I am doing something similar to the email system by using PHP and I need functions for

underline
bold
italicize
font size
font color
highlight color
left aligned
right aligned
justified

? I encountered some problems searching for some of the above functions and I would appreciate if you can help.

? Bascially, I need the functions where I can highlight the paragraph and click the font size button and the entire paragraph will have its font size changed.

Which is [COLOR=firebrick]NOT[/COLOR] somethind like this:
<font size=”2″>This is an example</font>

Not with the html codes, to be exact.

Really appreciate your time for reading.

Thank you and good day! ?

Regards,
Jellybean

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonDec 14.2004 — Give [url=http://www.webdeveloper.com/forum/showthread.php?s=&threadid=51069]this[/url] thread a read.
Copy linkTweet thisAlerts:
@JellybeanauthorDec 14.2004 — Hi there,

Thanks for your reply, but I would like to know the functions that do not show the HTML tags.

Just like the yahoo! email, when you bold the paragraph, the fonts of the entire paragraph will be bold, and not the appearance of the html tags.

Any advise is appreciated. Thank you.

Regards,

Jellybean ?
Copy linkTweet thisAlerts:
@David_HarrisonDec 14.2004 — Well you can't do that with a textarea, Yahoo is using some IE proprietary thing that is similar to a textarea but allows for formatted text. Sorry but I can't help you there.
Copy linkTweet thisAlerts:
@pj59Dec 14.2004 — Hello!

You might want to use something like this: http://www.kevinroth.com/rte/demo.htm

There is other stuff like that available on the net, but as far as I know this one is closest to cross browser compatibility.

Regards PJ
Copy linkTweet thisAlerts:
@JellybeanauthorDec 15.2004 — Hi,

Thank you so much for your reference. It is very useful..

I have modified the codes and managed to get what I wanted.

Thanks once again ?

Regards,

Jellybean
Copy linkTweet thisAlerts:
@pj59Dec 15.2004 — Hi,Thank you so much for your reference. It is very useful..[/QUOTE]Just incase you are talking to me - you are welcome. ?

Regards PJ
Copy linkTweet thisAlerts:
@JellybeanauthorDec 15.2004 — Dear pj59 ,

Definitely. Thank you! ?

Jellybean
Copy linkTweet thisAlerts:
@pj59Dec 15.2004 — I'm happy that the link helped! ?

Regards PJ
×

Success!

Help @Jellybean spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.23,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...