Forum Moderators: phranque

Message Too Old, No Replies

How to add toolbar to change text size?

         

averma43

11:36 am on May 6, 2008 (gmt 0)

10+ Year Member



hi,

I want a toolbar on my website using which the visitor can adjust the font size to his/her needs. Ususally this can be done by Ctrl+ or Ctrl- but most of the visitors on my website would not know this. I want this customised feature where i can give the control to the website visitor.
Example is businessweek.com

have a look:
[businessweek.com...]

Have a look at the Text size T T on the top of the article text.

Does anyone know how to do this?

coopster

3:09 pm on May 6, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, averma43.

It's all JavaScript in this case. Using a web browser like Firefox with the Firebug extension (or some other JavaScript tool) you can open up the source of the page and locate exactly how they are doing it.

averma43

5:22 pm on May 6, 2008 (gmt 0)

10+ Year Member



danke shon. merci. dhanyavad.