flickr_test.html 1.6 KB
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>StoryMapJS</title>
    <meta charset="utf-8">
    <meta name="description" content="StoryMap 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.knightlab.css?v1')-->
    <link rel="stylesheet" href="../css/fonts/font.default.css?v1">
    <!-- Style-->
    <style>
      html, body {
       width:100%;
       padding: 0px;
       margin: 0px;
      }
      .vco-storymap {
       margin-bottom:25px;
      }
      #storymap1, #storymap2{
       width:100%;
       height:900px;
       border-top: 1px solid #999;
       border-bottom: 1px solid #999;
      }
      
    </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="storymap1"></div>
    <div id="storymap2"></div>
    <!-- JavaScript-->
    <script src="../js/storymap.js"></script>
    <script>
      var storymap1 = new VCO.StoryMap('storymap1', 'flickr-drewvigal.json', {use_custom_markers:true});
      var storymap2 = new VCO.StoryMap('storymap2', 'flickr-zach.wise.json', {use_custom_markers:true});
      
      window.onresize = function(event) {
       storymap1.updateDisplay();
       storymap2.updateDisplay();
      }
    </script>
  </body>
</html>