Dynamically changing TextSize

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
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
 
Back
Top