Tuesday, July 2, 2013

Web Fonts Dynamic Loading

In one of the applications I'm currently working on, there is a need to allow users to select  a font from a variety of Google web fonts.
Since I don't want to load all the fonts when the application loads, I've added some code to dynamically load only the selected font.
Below you can see it in action.
The code can be viewed in this jsFiddle.



1 comment:

  1. Great article Lot's of information to Read... Great Man Keep Posting and update to People..Thanks..
    website designs pakistan

    ReplyDelete

About Me

My photo
I've been developing Internet and rich-media application for 15 years. In my work I emphasis usability and best user experience as well as sleek design. My main expertise are JavaScript, Flex and Flash.

Followers