storymap.html 2.79 KB
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>StoryMapJS</title>
    <meta charset="utf-8">
    <meta name="description" content="TimelineJS Embed">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <!-- CSS-->
    <link rel="stylesheet" href="css/storymap.css?v1">
    <!--FONT-->
    <!--link(rel='stylesheet', href='css/fonts/font.pt.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.abril-droidsans.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.amatic-andika.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.bitter-raleway.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.clicker-garamond.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.roboto-megrim.css?v1')-->
    <link rel="stylesheet" href="css/fonts/font.unicaone-vollkorn.css?v1">
    <!--link(rel='stylesheet', href='css/fonts/font.playfair-faunaone.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.playfair.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.pt.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.dancing-ledger.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.fjalla-average.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.georgia-helvetica.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.knightlab.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.lustria-lato.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.medula-lato.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.abril-droidsans.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.oldstandard.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.rufina-sintony.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.opensans-gentiumbook.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.ubuntu.css?v1')-->
    <!--link(rel='stylesheet', href='css/fonts/font.default.css?v1')-->
    <!-- Style-->
    <style>
      html, body {
      	height:100%;
      	width:100%;
      	padding: 0px;
      	margin: 0px;
      }
      
    </style>
    <!-- HTML5 shim, for IE6-8 support of HTML elements-->
    <!--if lt IE 9
    script(src='http://html5shim.googlecode.com/svn/trunk/html5.js')
    
    -->
  </head>
  <body>
    <div id="storymap"></div>
    <!-- JavaScript-->
    <script src="js/storymap.js"></script>
    <script>
      var storymap = new VCO.StoryMap('storymap', 'examples/marktwain.json', {
      	//start_at_slide:2
      	//call_to_action_text: "Just go"
      });
      window.onresize = function(event) {
      	storymap.updateDisplay();
      }
    </script>
  </body>
</html>