Browse Source

Added an example html for the asynchronous embed

pull/20/merge
Zach Wise 13 years ago
parent
commit
33221bd8d0
  1. 32
      examples/embed.html

32
examples/embed.html

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Embed Timeline</title>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="content">
<div id="timeline-embed"></div>
<script type="text/javascript">
var config = {
width: 900,
height: 700,
source: 'https://docs.google.com/a/digitalartwork.net/spreadsheet/ccc?hl=en_US&key=0Agl_Dv6iEbDadGRwZjJSRTR4RHJpanE2U3lkb0lyYUE&rm=full#gid=0',
css: 'http://veritetimeline.appspot.com/latest/timeline.css',
js: 'http://veritetimeline.appspot.com/latest/timeline-min.js'
}
</script>
<script type="text/javascript" src="../timeline-embed.js"></script>
</div>
</body>
</html>
Loading…
Cancel
Save