Sha256: eca7852eb265eea1763dded294613ea738122cdfa408b12266f47dc18f6bb929

Contents?: true

Size: 1.06 KB

Versions: 21

Compression:

Stored size: 1.06 KB

Contents

<!doctype html>
<html>
<head>
  <link href="/basic.css" rel="stylesheet" type="text/css">
  <script type="text/javascript" src="/webfont.js"></script>
  <script type="text/javascript">
    WebFont.load({
      typekit: {
        id: 'kitwitharialblack',
        api: '/typekit'
      }
    });
  </script>
  <style type="text/css">
    /* Use classes to prove that Typekit triggers the event system correctly */
    h1 {
      visibility: hidden;
    }
    .wf-arialblack-n4-active h1 {
      font-family: 'Arial Black';
      visibility: visible;
    }
  </style>
</head>
<body>
  <h1>
    Hello World. I am Arial Black.
  </h1>
  <hr>
  <p>
    <a href="#" onclick="document.getElementsByTagName('body')[0].style.color = '#fff';return false;">Hide Page</a> |
    <a href="/typekit.html">Reload Cached</a>
  </p>
  <p>
    The goal of this page is to show how Typekit fonts load. Note that it uses
    a minimal Typekit script in order to reduce dependencies. This script
    simply provides the system font 'Arial Black' instead of loading a web
    font.
  </p>
</body>
</html>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
webfontloader-1.0.31 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.30 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.29 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.28 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.27 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.26 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.25 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.24 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.22 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.21 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.20 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.19 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.18 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.16 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.15 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.13 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.9 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.8 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.7 lib/webfontloader/demo/public/typekit.html
webfontloader-1.0.6 lib/webfontloader/demo/public/typekit.html