zoomify_gameofthrones.html 1.45 KB
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>StoryMap Zoomify</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.dark.css?v1">
    <!--FONT-->
    <link rel="stylesheet" href="../css/fonts/font.playfair.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-min.js"></script>
    <script>
      var storymap = new VCO.StoryMap('storymap', 'gameofthrones.json', {
       map_type: "zoomify",
       map_background_color: "#121619",
       zoomify: {
        path: 			"http://gigapixel.knightlab.com/gameofthrones/",
        width: 			21920,
        height: 		14656,
        tolerance: 		0.9,
        attribution: 	"Google Search" //"Google Art Project"
       }
      });
      window.onresize = function(event) {
       storymap.updateDisplay();
      }
    </script>
  </body>
</html>