Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    308
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding font-family to js font changer script..

    http://kussatz.com/gurus/javascript_..._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?

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •