🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

fontAvailable is a jQuery plugin that checks if a font is installed on your computer and execute a custom function when it is available in the current browser.

Font

Documentation

fontAvailable v1.1 jQuery Plugin

Simple jQuery plugin that checks if a client browser supports a given font.

Example

$(document).ready(function() {              if($.fontAvailable('tahoma')) {                  // analytic code here             }         });  
  • make sure to include jQuery framework and plugin source

License

MIT License

References

http://ajaxian.com/archives/fontavailable-test-to-see-if-a-font-is-usable http://kilianvalkhof.com/2009/css-xhtml/combining-cufon-and-font-face/ http://davidwalsh.name/font-check-plugin (Moo Tools implementation)


You May Also Like