Dynamically changing TextSize

G

Guest

Hi,

I was wondering on the best way to change the text size of website. I have
seen these effect on the dotnetnuk web http://www.dotnetnuke.com/ , where you
have a link to change the size of the text. Is it just a case of using
javascript to set the prefered stylesheet to use ? or is there a better way.
Thanks

Neil
 
M

Mark Fitzpatrick

Neil,
That's correct. You have all the stylesheets loaded, then use
javascript to set them. You can actually see the JS code for this if you
ViewSource on the DNN homepage.
 
G

Guest

Cool,

I thought that was the case. I have tended to stay away from javascript but
can see that I may need to delve into it more as a lot of clients are wanting
changes to websites I can see only possible with javascript. Thanks for the
reply.

Neil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top