  <!-- Demo -->
  <section id="demo">
    <div id="timeline-embed" style="height: 1000px">
      <div id="timeline"></div>
    </div>
  </section>

  <!-- build:css http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/css/timeline.css -->
  <link rel="stylesheet" href="/build/css/timeline.css">
  <!-- endbuild -->
  <!-- build:js http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/js/timeline-min.js -->
  <script src="/build/js/timeline.js"></script>
  <!-- endbuild -->
  <script>
    $(document).ready(function(){
      $("#timeline-embed").height($(document).height());
      window.timeline = new VCO.Timeline('timeline-embed', 'timeline3.json', {
      });

      if ($("#timeline-embed").height() == 0) {
        setTimeout(function(){
            console.log("trying again. height: " + $(document).height())
            $("#timeline-embed").height($(document).height());
            window.timeline.updateDisplay();          
        },500);
        
      }
      window.onresize = function(event) {
        timeline.updateDisplay();
      }
    });
  </script>




  <!-- Demo -->
  <section id="demo">
    <div id="timeline-embed" style="height: 100%;">
      <div id="timeline"></div>
    </div>
  </section>

  <!-- build:css http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/css/timeline.css -->
  <link rel="stylesheet" href="/build/css/timeline.css">
  <!-- endbuild -->
  <!-- build:js http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/js/timeline-min.js -->
  <script src="/build/js/timeline.js"></script>
  <!-- endbuild -->
  <script>
    $(document).ready(function(){
      $("#timeline-embed").height($(document).height());
      window.timeline = new VCO.Timeline('timeline-embed', 'timeline3.json', {
      });

      if ($("#timeline-embed").height() == 0) {
        setTimeout(function(){
            console.log("trying again. height: " + $(document).height())
            $("#timeline-embed").height($(document).height());
            window.timeline.updateDisplay();          
        },500);
        
      }
      window.onresize = function(event) {
        timeline.updateDisplay();
      }
    });
  </script>




Fix embed height on examples
Fix embed height on examples
