-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (29 loc) · 987 Bytes
/
index.html
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
<html>
<head>
<title>Tadaboard Embed library</title>
<script type="text/javascript" src="dist/tadaboard-embed.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
new Tadaboard($('#dashboard')[0], 'yourid');
});
</script>
</head>
<body>
<div id="dashboard"></div>
<div id="autoload">
<script type="text/javascript">
(function(i, s, o, g, r, a, m) {
document.write('<div class="tadaboard-embed" data-id="yourid"></div>')
i['TadaboardAutoload'] = true;
i['Tadaboard'] && i['Tadaboard'].runParser();
a = s.createElement(o);
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'dist/tadaboard-embed.js');
</script>
</div>
</body>
</html>