2 ms·
It's actually exactly a 1 second delay: $(window).load(function() { setTimeout(slabTextHeadlines, 1000); });
by dsellergren 14y ago
It's actually exactly a 1 second delay:
$(window).load(function() {
setTimeout(slabTextHeadlines, 1000);
});
- jonah 14y ago"Always call the script after all fontface fonts have downloaded. I’ve hacked this for the demo to enable you to see the headline transformation as the script kicks-in but you should always use google WebFont loaders active() and inactive() callbacks to launch the slabText treatment (or a similar "font loaded" callback feature from another font provider)."