Skip to content

Instantly share code, notes, and snippets.



Forked from rcarver/gist:192350
Created Jan 7, 2010
What would you like to do?
<script type="text/javascript">
// By wrapping in try catch you can fallback to Typekit's default JS if they change the experimental feature.
// This is an experimental method to be notified when Typekit's fonts have loaded.
// It will almost certainly change! Please do not use this on a live site. Please
// do let us know what you think by forking this gist, contacting us at
// or on Get Satisfaction -
Typekit.load("your-kit-id", {
beforeLoad: function(data) {
// fonts are not loaded!
afterLoad: function(data) {
// fonts are loaded!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment