-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo-2.php
30 lines (26 loc) · 853 Bytes
/
demo-2.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php include 'inc/doctype.inc.php'; ?>
<title>Typekit Loader | Demo 2</title>
<style>
#spinner{ z-index:100;position:fixed;bottom:0;right:0;height:25px;width:80px;background: url(spinners/typekit-spinner-2.gif) no-repeat 0 0; }
html.wf-active #spinner { background-position: -80px 0; }
html .container, html.wf-loading .container { display: block; opacity: .15; }
html.wf-active .container { display: block; opacity: 1; }
html.wf-active img.typekit-badge {display:none; }
</style>
<?php include 'inc/ressources.inc.php'; ?>
<script>
WebFont.load({
typekit: {
id: 'yfi4tji'
},
active: function() {
$('#spinner').fadeOut(1000);
$('img.typekit-badge').fadeIn(2500);
}
});
</script>
</head>
<body>
<div id="spinner"></div>
<?php include 'inc/typekit-badge.inc.php'; ?>
<?php include 'inc/content.inc.php'; ?>