...

View Full Version : Adding font-family to js font changer script..



AshleyQuick
01-03-2004, 09:03 PM
http://kussatz.com/gurus/javascript_font_size_changers.html


The script above is ideal for my current project. I would, however, like to add functionality to change the font family as well. ie. Verdana, Arial, Courier, Lucida Grande, Times. Can someone assist?

Vladdy
01-03-2004, 09:31 PM
Not a good script at all. I mean it does the job, but in a VERY inefficient manner. Instead of just changing the setting of document body and allowing all the descendants to scale accordingly, it iterates through some tags and sets font size without preserving the desired scaling.

You can consider the customization wiget (still in beta testing) on my site for the task at hand.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum